X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/book_gpu.git/blobdiff_plain/fc4670d0de6814f682df0ce247905cba40b9d547..e4346947aa62df9cab78e792050767d42c5f5ab3:/BookGPU/Chapters/chapter2/ex2.cu?ds=inline diff --git a/BookGPU/Chapters/chapter2/ex2.cu b/BookGPU/Chapters/chapter2/ex2.cu index 762654c..b27d619 100644 --- a/BookGPU/Chapters/chapter2/ex2.cu +++ b/BookGPU/Chapters/chapter2/ex2.cu @@ -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);