 	int i = blockIdx.x * blockDim.x + threadIdx.x;
 	int j = blockIdx.y * blockDim.y + threadIdx.y;
 	
-	if (i >= d_m.height || j >= d_m.width)
+	if (i >= d_m.getHeight() || j >= d_m.getWidth())
 		return;
 	
-	float mat(d_m[i][j]);
-	float vec(d_v[j]);	
 	atomicAdd(&d_r[i], d_m[i][j] * d_v[j]);
 }
 

	t_chrono = clock();
	for (int i(0) ; i != NUM_TESTS ; i++) {
		Vector h_r_cpu = productMatrixVectorCPU(h_m, h_v);
		delete [] h_r_cpu.data;
		//h_r_cpu.print();
	}
	t_chrono = clock() - t_chrono;

	t_chrono = clock();
	for (int i(0) ; i != NUM_TESTS ; i++) {
		Vector h_r_gpu = productMatrixVectorGPU_naive(h_m, h_v);
		//h_r_gpu.print();
	}
	t_chrono = clock() - t_chrono;
