X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/book_gpu.git/blobdiff_plain/588a7d5fe41e4604140b24fbe1bdec5e4a32febd..c3b7094dd3736e534d20ccb83621a4f8aff0472c:/BookGPU/Chapters/chapter2/ch2.tex diff --git a/BookGPU/Chapters/chapter2/ch2.tex b/BookGPU/Chapters/chapter2/ch2.tex index 0640708..bff6d44 100755 --- a/BookGPU/Chapters/chapter2/ch2.tex +++ b/BookGPU/Chapters/chapter2/ch2.tex @@ -52,7 +52,7 @@ which indicates that this kernel can be call from the C code. The first instruction in this kernel is used to computed the \texttt{tid} which representes the thread index. This thread index is computed according to the values of the block index (it is a variable of CUDA -called \texttt{blockIdx\index{CUDA~keywords!blockIdx}}). Blocks of threads can +called \texttt{blockIdx}\index{CUDA~keywords!blockIdx}). Blocks of threads can be decomposed into 1 dimension, 2 dimensions or 3 dimensions. According to the dimension of data manipulated, the appropriate dimension can be useful. In our example, only one dimension is used. Then using notation \texttt{.x} we can