AI ENGVisual Encyclopedia

SCENE 05 · WHERE DOES THIS THREAD WORK?

Where does this thread work?

Every thread computes its own global index — the equation and the proof, together.

blockIdx.x = 0blockIdx.x = 1blockIdx.x = 2blockIdx.x = 3012345678910111213141516171819202122232425262728293031

block 1, thread 5 owns element 13 — exactly one thread, exactly one element.