]> AND Private Git Repository - book_gpu.git/blobdiff - BookGPU/Chapters/chapter2/ex2.cu
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
suite ch2
[book_gpu.git] / BookGPU / Chapters / chapter2 / ex2.cu
index 762654ca88ba6d5346274e86d5bc168ba3f20b04..b27d619dd19b41e679df5fe9477a08bcbea22901 100644 (file)
@@ -89,12 +89,8 @@ int main( int argc, char** argv)
        cutilCheckError(cutStopTimer(timer_gpu));
        printf("GPU processing time : %f (ms) \n", cutGetTimerValue(timer_gpu));
        cutDeleteTimer(timer_gpu);
-       
-       cublasGetVector(size,sizeof(double),d_arrayC,1,h_arrayCgpu,1);
-
        printf("cpu dot %e --- gpu dot %e\n",dot,dot_gpu);
 
-
        cudaFree(d_arrayA);
        cudaFree(d_arrayB);
        cudaFree(d_arrayC);