liveBook · Manning

Register file

A register file is an organized hardware collection of processor registers that stores operands and intermediate values for execution.

How 2 Manning books explain it

Grokking GPU Programming

A register file is a collection of fast on-chip registers that stores values for a processor's active threads.

How it is used
Constrains how many threads can reside on an SM through each thread’s share of its fixed register capacity.
How deep it goes
Explains private per-thread storage and calculates occupancy for two register counts.
Examples
Compares 32 and 64 registers per thread in a 65,536-register file.
What you can do after
Evaluate how doubling registers per thread halves resident threads in the stated example.

Read how Grokking GPU Programming explains register file →

GPU Programming with Triton

A register file is the hardware storage array containing the registers available to a processor execution unit.

How it is used
Explains how fast per-thread storage supports GPU arithmetic and affects kernel performance.
How deep it goes
Defines per-thread use, H100 capacity, concurrency trade-offs, and spilling to local memory.
Examples
Compares H100 occupancy examples using 32 or 64 registers per thread.
What you can do after
Understand how register demand can limit concurrent threads or cause slower spilled-memory accesses.

Read how GPU Programming with Triton explains register file →

Related concepts

Questions about register file

What is register file?

A register file is an organized hardware collection of processor registers that stores operands and intermediate values for execution.

Which Manning books explain register file?

Grokking GPU Programming and GPU Programming with Triton.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.