X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/book_gpu.git/blobdiff_plain/18cb85fd3967a4c46c9582e8515cef9af3448269..f58a76268a01dff4b9427557dba6f052787415d5:/BookGPU/Chapters/chapter13/ex1.cu?ds=inline 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;