X-Git-Url: http://git.euphorik.ch/index.cgi?a=blobdiff_plain;f=WCudaMSE%2FStudent_Cuda%2Fsrc%2Fcpp%2Fcore%2F01_Hello%2F02_hello_add.cu;h=e4b327545dc1fe2583b1d3af13acd10b6e88ba31;hb=6664817ed89b0b616044da35a3eb8f715e0813d9;hp=70f3908b8a24a025936e2fc7343c50af37d3a654;hpb=8d08c12b29c2a14684f35c023ee39e694bb80d25;p=GPU.git diff --git a/WCudaMSE/Student_Cuda/src/cpp/core/01_Hello/02_hello_add.cu b/WCudaMSE/Student_Cuda/src/cpp/core/01_Hello/02_hello_add.cu index 70f3908..e4b3275 100755 --- a/WCudaMSE/Student_Cuda/src/cpp/core/01_Hello/02_hello_add.cu +++ b/WCudaMSE/Student_Cuda/src/cpp/core/01_Hello/02_hello_add.cu @@ -63,7 +63,7 @@ __host__ int addScalarGPU(int a, int b) int* ptrDev_c; // on device (GPU) // Specifier nb thread : ici 1 thread au total ! - dim3 dg = dim3(1,1,1); + dim3 dg = dim3(1, 1, 1); dim3 db = dim3(1, 1, 1); // Debug