A GPU register is a tiny, fast storage spot for one thread’s own variables—like a sticky note on a desk. Registers are private to that thread, unlike shared memory, which threads in a block can access, or global memory, which threads across the grid can reach. section 3.6
When registers limit occupancy
Suppose a block has 256 threads and each uses 48 registers. That block needs 12,288 registers; with 65,536 registers available per SM, five whole blocks fit. This limits residency to 40 warps, or 62.5% occupancy, even though shared memory and the block limit would allow more. Forcing a higher occupancy can cap registers per thread, but variables that no longer fit may spill to slow local memory. Profile configurations rather than assuming maximum occupancy is fastest. section 14.8 section 14.11








