GPU Computing · Cluster

The SIMT Model

Warps, divergence, and occupancy.

  1. 01 Warp Granularity: Why Thirty-Two Threads Share One Program Counter How a block of threads is carved into warps, why the hardware tracks one instruction stream per group of thirty-two lanes, and what that granularity costs at the edges. foundational · May 22, 2026
  2. 02 Divergence and the Reconvergence Stack How a warp executes both sides of a branch when its lanes disagree, what the per-warp mask stack records, and why reconvergence is not always where the source suggests. foundational · Aug 8, 2025
  3. 03 What Occupancy Actually Counts Why occupancy is a ratio of resident warps to a hardware maximum rather than a utilization measure, and how registers, shared memory, and block limits each cap it. foundational · Jul 30, 2025
  4. 04 Predication and Branch Selection When a compiler converts a conditional into predicated instructions or a select, and the cost comparison that decides whether branching or straight-line code is cheaper for a warp. intermediate · Jun 28, 2024
  5. 05 Active-Mask Accounting and Issue Slot Efficiency How to compute the fraction of lane capacity a warp actually delivers from its active masks, and why instruction issue rather than lane count is the resource that runs out. intermediate · Dec 14, 2023
  6. 06 Register Allocation and the Occupancy Ceiling How per-thread register counts are rounded into per-warp reservations, why a few extra registers can cost half the resident warps, and what forcing a lower count actually costs. intermediate · Mar 20, 2025
  7. 07 Latency Hiding and the Arithmetic of Warp Counts Deriving how many resident warps are needed to cover a memory stall from instruction count and latency, and where the Little's law model overstates what interleaving can deliver. intermediate · Sep 1, 2026
  8. 08 Per-Lane Program Counters and Independent Thread Scheduling What changes when each lane carries its own program counter and call stack, how divergence stops being a strict two-phase serialization, and why implicit reconvergence disappears. advanced · Sep 5, 2023
  9. 09 Warp Specialization and Producer-Consumer Warps How assigning different code to different warps of a block removes divergence at the source, what the handoff between producer and consumer warps costs, and when it loses. advanced · Aug 12, 2025
  10. 10 Divergence Amplification in Nested Control Flow Why nesting multiplies serialized path count rather than adding to it, how the mask stack depth bounds what the hardware can track, and which rearrangements collapse the product. advanced · Jul 23, 2024