X hits on this document

Powerpoint document

The Missouri S&T CS GPU Cluster - page 9 / 18

45 views

0 shares

0 downloads

0 comments

9 / 18

Built-in Variables accessible in a Kernel

dim3 gridDim

Contains the dimensions of the grid as specified during kernel invocation. gridDim.x, gridDim.y (.z is unused)

uint3 blockIdx

Contains the block index within the grid. blockIdx.x, blockIdx.y (.z is unused)

dim3 blockDim

Contains the dimensions of the block (blockDim.x, blockDim.y, and blockDim.z)

uint3 threadIdx

Contains the thread index within the block (threadIdx.x, threadIdx.y, and threadIdx.z)

Document info
Document views45
Page views45
Page last viewedSat Dec 10 20:47:28 UTC 2016
Pages18
Paragraphs213
Words1253

Comments