A 1D launch kernel<<<gridDim, blockDim>>> drawn as rows of blocks. Each square is one thread. Pick a block and thread to see which global index i it computes.
kernel<<<gridDim, blockDim>>>
i