projects
/
GPU.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
TP Saucisson.
[GPU.git]
/
WCudaMSE
/
Student_Cuda
/
src
/
cpp
/
core
/
01_Hello
/
02_hello_add.cu
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
(executable)
--- 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)
\r
\r
// Specifier nb thread : ici 1 thread au total !
\r
int* ptrDev_c; // on device (GPU)
\r
\r
// Specifier nb thread : ici 1 thread au total !
\r
- dim3 dg = dim3(1,
1,
1);
\r
+ dim3 dg = dim3(1,
1,
1);
\r
dim3 db = dim3(1, 1, 1);
\r
\r
// Debug
\r
dim3 db = dim3(1, 1, 1);
\r
\r
// Debug
\r