 	printf("---------------------------\n");
 	for(i = 0; i < numberOfRows; i++) {
 		for(j = 0; j < numberOfCols; j++) {
-			printf("RetMat[%d,%d] = %1.2f  ", i, j, ret[IND(i,j,numberOfRows)]);
+			printf("RetMat[%d,%d] = %1.3f  ", i, j, ret[IND(i,j,numberOfRows)]);
 		}
 		printf("\n");
 	}

	
	for(i = 0; i < hiddenSize; i++) {
		for(j = 0; j < 1; j++) {
			gradVec[offset + i + visibleSize*j] = hostb1grad[IND(i,j,hiddenSize)];
			printf("position %d , place %f \n", offset + i + visibleSize*j,  hostb1grad[IND(i,j,hiddenSize)]);
		}
	}

				int numberOfExamples, int visibleSize);
__global__ void compDelta3(float *y, float *a3, float *delta3, int length);
void setGradVec(int visibleSize, int hiddenSize, float *gradVec, float *hostW1grad, float *hostW2grad, float *hostb1grad, float *hostb2grad);
void compWgrad(float *W, int numberOfRows, int numberOfCols, int m);
void compbgrad(float *b, int numberOfRows, int m);


int main(void) {
