X-Git-Url: http://git.euphorik.ch/?p=GPU.git;a=blobdiff_plain;f=WCudaMSE%2FStudent_Cuda%2Fsrc%2Fcpp%2Fcore%2F01_Hello%2F02_hello_add.cu;h=e4b327545dc1fe2583b1d3af13acd10b6e88ba31;hp=70f3908b8a24a025936e2fc7343c50af37d3a654;hb=3e601cb6c0cc2c5b3a9b30ebf3ad1102e53c0e0b;hpb=b1138708dfa104f784170fcf2d50989156e5c5d0 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