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