CUDA_INDEX
1D grid of 1D blocks
1 | __device__ |
1D grid of 2D blocks
1 | __device__ |
1D grid of 3D blocks
1 | __device__ |
2D grid of 1D blocks
1 | __device__ int getGlobalIdx_2D_1D(){ |
2D grid of 2D blocks
1 | __device__ |
2D grid of 3D blocks
1 | __device__ |
3D grid of 1D blocks
1 | __device__ |
3D grid of 2D blocks
1 | __device__ |
3D grid of 3D blocks
1 | __device__ |