X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/book_gpu.git/blobdiff_plain/18cb85fd3967a4c46c9582e8515cef9af3448269..e2f7ea69b2321fbf77291f35360751e460a99f44:/BookGPU/Chapters/chapter13/ex1.cu diff --git a/BookGPU/Chapters/chapter13/ex1.cu b/BookGPU/Chapters/chapter13/ex1.cu index 546d8ef..d4997d6 100644 --- a/BookGPU/Chapters/chapter13/ex1.cu +++ b/BookGPU/Chapters/chapter13/ex1.cu @@ -15,7 +15,7 @@ __global__ void kernel(..., int n, int nx, int ny, int slices, int stride, ...) /* CPU function */ void Function(...) { - int n = NX * ny * nz; //size of the sub-problem + int n = NX * ny * nz; //size of the subproblem int slices = nz; int stride = NX * ny; int bx = 64, by = 4;