Thread Index Visualizer

Thread Index Visualizer

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, and what that thread does in a vector-add kernel over n elements.

Launch configuration
Select a thread
Display

Kernel, as run by the selected thread


    

Arrays near the selected element · a[i] = b[i] = i + 1

selected thread its block no-op thread (i ≥ n) alternate warps Click any square to select it.