What Is a GPC? How SMs and CUDA Block Clusters Relate
A GPC groups SMs in NVIDIA GPU hardware. Learn how supported CUDA thread-block clusters use one GPC for synchronization and distributed shared memory, with a documented histogram example and device-specific checks.
What Is a GPC? How SMs and CUDA Block Clusters Relate
A Graphics Processing Cluster (GPC) is a higher-level unit that groups multiple streaming multiprocessors (SMs) in NVIDIA GPU architectures. Work generally executes on SMs. Understanding GPCs helps readers interpret vendor diagrams and relate kernel execution to hardware resources. GPC is not a universal GPU term, and its configuration can change across generations.
How GPCs relate to SMs
CUDA thread-block clusters are optional on GPUs with compute capability 9.0 or later. They group adjacent blocks and schedule every block in the cluster at the same time on SMs within one GPC. Cooperative Groups lets the blocks synchronize and access participating blocks’ shared memory as distributed shared memory (DSM). A GPC is a hardware group; a cluster is a software group. This does not pin ordinary grid blocks to a chosen GPC.
NVIDIA describes the full Blackwell Ultra implementation as 8 GPCs and 160 SMs. Available SM count can vary by SKU, so this is a generation-specific example, not a universal ratio.
The blue boundary groups cluster work inside one GPC; the orange dotted line represents access across participating SMs’ shared-memory segments. This is conceptual, not a circuit layout or performance result.
How to use GPCs when reading diagrams
**Check product organization:** GPC and SM counts show one way the GPU is hierarchically organized.
**Compare architectures:** Documentation from the same vendor can show how execution resources change across generations.
**Connect programming concepts:** CUDA thread blocks and grids divide work; GPCs and SMs describe hardware organization. They are not interchangeable concepts.
GPC count alone is not enough to predict performance. SM functional units, clock rate, memory, power limits, data locality, and software all affect real results. CUDA’s hardware model is an abstraction for programming; physical layouts can differ by architecture.
Example: split a large histogram across blocks
NVIDIA’s CUDA guide documents a histogram as a use for distributed shared memory. If all bins do not fit in one block’s shared memory, a cluster can divide them among per-block segments and access remote segments through DSM. Initialize each segment, call cluster.sync() before cross-block access, synchronize again before blocks exit, then combine the bins. This is a documented design example, not a benchmark or a speed guarantee.
Checks before using a block cluster
Check compute capability 9.0 or later and `cuda::arch_traits.cluster_supported`; query a kernel-specific size with `cudaOccupancyMaxPotentialClusterSize()`. Keep a fallback for unsupported devices; the reported maximum is not the fastest size.
Call `cluster.sync()` after initialization and before remote shared-memory access, then again after remote operations so no block exits while another still uses its memory.
Compare correct outputs, memory use, atomic operations, and total time on the target GPU. Profile the full workload; cluster support alone does not prove a speedup.
Sources
[NVIDIA CUDA Programming Guide: Programming Model](https://docs.nvidia.com/cuda/cuda-programming-guide/01-introduction/programming-model.html)
[NVIDIA CUDA Programming Guide: Writing CUDA Kernels](https://docs.nvidia.com/cuda/cuda-programming-guide/02-basics/writing-cuda-kernels.html)
[NVIDIA CUDA Runtime API Reference: Occupancy](https://docs.nvidia.com/cuda/cuda-runtime-api/cuda_runtime_api/group__CUDART__OCCUPANCY.html)
[NVIDIA: Inside Blackwell Ultra](https://developer.nvidia.com/blog/inside-nvidia-blackwell-ultra-the-chip-powering-the-ai-factory-era/)