X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/book_gpu.git/blobdiff_plain/18cb85fd3967a4c46c9582e8515cef9af3448269..16b4107f3a70f199b9c04d0346050f4f52b5114b:/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;