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