Thread Block Grid
The collection of thread blocks created by a kernel launch, the top level of the CUDA thread hierarchy, spanning the whole GPU.
A thread block grid is the collection of threads created when a CUDA kernel is launched. Grids are made of thread blocks and can be one-, two- or three-dimensional.
The matching level of the memory hierarchy is global memory.
Thread blocks in a grid are effectively independent units of computation. They execute concurrently, meaning in indeterminate order. That ranges from fully sequential on a GPU with a single Streaming Multiprocessor to fully parallel on a GPU with enough resources to run them all at once.
Related#
- Kernel: each launch creates one grid
- Thread Hierarchy: where grids sit in the bigger picture
- Global Memory: the memory shared across a grid