Compute unit · GPU

On this page 7

A compute unit (CU) is the basic, repeated processing block of a GPU: a self-contained cluster of SIMD vector lanes, schedulers, register files, local data memory and caches that executes groups of threads in lockstep. In graphics hardware, a GPU is built by replicating dozens of identical compute units, so the number of compute units is one of the most direct indicators of how much parallel shader and compute work a chip can perform per clock.

The term is used most visibly by AMD, whose Radeon specifications list CU counts, and by the OpenCL programming model, where every device is described as a set of compute units containing processing elements. NVIDIA calls the equivalent block a streaming multiprocessor (SM), and Intel calls it an Xe core, but the architectural role is the same.

How a compute unit executes GPU threads

A compute unit executes work by running groups of threads in lockstep on wide vector units, an approach known as SIMT (single instruction, multiple threads). AMD calls such a group a wavefront; NVIDIA calls it a warp. Each instruction is fetched and decoded once, then applied to every lane of the group, which saves control logic and lets most of the silicon be spent on arithmetic.

The defining trick is latency hiding. A compute unit keeps many wavefronts resident at once, each with its own registers. When one wavefront stalls on a memory read that may take hundreds of clock cycles, the scheduler switches to another ready wavefront at almost no cost. The more wavefronts a CU can hold, which is called occupancy, the better it tolerates slow memory.

The following table lists the main components found inside a typical AMD compute unit and what each one contributes.

ComponentFunctionTypical size or width
Vector ALUs (SIMD units)Floating-point and integer math per lane64 lanes per CU
Scalar unitValues shared by the whole wavefrontOne per SIMD or per CU
Vector register filePer-thread working data128-256 KB per CU
Local data share (LDS)Fast memory shared within a workgroup64 KB per CU or 128 KB per pair
L0 or L1 vector cacheCaches texture and buffer reads16-32 KB
Texture unitsAddress calculation and filteringFour per CU
Ray acceleratorRay-box and ray-triangle testsOne per CU (RDNA 2 and later)
Main components inside a compute unit

Compute unit designs across AMD architectures

The internal layout of a compute unit has changed substantially between generations, even though the 64 stream processors per CU figure stayed constant. In Graphics Core Next (GCN), each CU contained four SIMD16 units that processed a 64-wide wavefront over four cycles. RDNA replaced them with two SIMD32 units that complete a 32-wide wavefront in a single cycle, which lowers latency for games, and it grouped two CUs into a workgroup processor (WGP) sharing instruction caches and LDS.

RDNA 3 added dual-issue capability, so each SIMD32 can retire two eligible instructions per clock, and introduced AI accelerators for matrix operations. The CDNA line for data-center accelerators returned to a GCN-style wave64 layout with matrix cores, optimized for compute rather than rasterization.

ArchitectureSIMD arrangementNative wavefrontNotable addition
GCNFour SIMD16Wave64Asynchronous compute engines
RDNATwo SIMD32Wave32 and wave64Workgroup processor pairing
RDNA 2Two SIMD32Wave32 and wave64Ray accelerator per CU
RDNA 3Two dual-issue SIMD32Wave32 and wave64AI accelerators
CDNAFour SIMD16Wave64Matrix cores, no graphics pipeline
Compute unit layout by AMD architecture

Compute units, SMs and Xe cores compared

Every modern GPU vendor uses a repeated multiprocessor block, but the blocks differ in width, so unit counts cannot be compared across vendors directly. An NVIDIA Ada Lovelace SM contains 128 CUDA cores split into four partitions, twice the lane count of an AMD CU. A CUDA core and a stream processor are both single FP32 lanes, the smallest units inside these blocks.

The table below maps the equivalent block names and their typical contents.

Vendor termVendorFP32 lanes per blockSpecialized units per block
Compute unitAMD (RDNA 3)64Two AI accelerators, one ray accelerator
Streaming multiprocessorNVIDIA (Ada Lovelace)128Four tensor cores, one RT core
Xe coreIntel (Xe-HPG)12816 XMX engines, one ray tracing unit
Compute unit (OpenCL)Any vendorDevice-dependentAbstract model only
Equivalent multiprocessor blocks by vendor

In OpenCL, the query CL_DEVICE_MAX_COMPUTE_UNITS returns the number of such blocks, so on an NVIDIA card it reports SMs. This abstraction lets portable code size its workgroups without knowing vendor terminology.

How compute unit count shapes GPU performance

Within a single architecture, theoretical FP32 throughput scales linearly with compute units. The usual formula is CUs × 64 lanes × 2 operations × clock speed, where the factor of two counts a fused multiply-add as two operations. A GPU with 36 CUs at 2.23 GHz therefore reaches about 10.3 TFLOPS. RDNA 3 dual-issue can double the headline figure, but real code rarely pairs instructions that efficiently.

Real performance depends on more than the CU count. Memory bandwidth, cache size, ROP throughput and clock behavior under the power limit often decide whether extra CUs translate into higher frame rates.

Limiting factorSymptomWhy extra CUs do not help
Memory bandwidthCUs idle waiting on dataLanes starve without fresh operands
Low occupancyPoor latency hidingRegister-heavy shaders limit resident wavefronts
Power limitClocks drop under loadMore active CUs force lower frequency
Front-end or ROP boundGeometry or pixel output saturatedWork is stuck before or after shading
Small workloadsLow GPU utilizationToo few threads to fill every CU
Factors that limit gains from more compute units

Practical guidance and common misconceptions

Compute unit count is most useful for comparing GPUs within one product family, such as two cards built on the same RDNA generation. Across generations or vendors, rely on measured benchmarks instead, because per-CU efficiency changes with every architecture.

  • More CUs is not always faster: a narrower GPU with higher clocks and more cache can beat a wider one in games.
  • A CU is not a CPU core: it has no independent branch prediction per thread, and divergent branches inside a wavefront serialize execution.
  • Stream processor totals hide structure: 6,144 stream processors means 96 CUs of 64 lanes, not 6,144 independent cores.
  • Developers should size workgroups to multiples of the wavefront width (32 or 64) to avoid wasted lanes.

The idea in brief

A graphics card does not have one giant processor. It has many identical small workshops, and AMD calls each workshop a compute unit. Inside every workshop, 64 tiny workers perform the same step on different pieces of data at the same moment, such as coloring 64 pixels at once.

More workshops usually means more work done per second, as long as they all receive materials fast enough. If the delivery road, which is the memory, is too narrow, extra workshops simply wait. That is why the number of compute units is a helpful clue, but not the whole story about speed.

A practical scenario

A small visual effects studio is choosing between two Radeon cards from the same RDNA 3 generation for GPU rendering and OpenCL simulation work. One card has 60 compute units and the other has 96 compute units at similar clock speeds. Because both share one architecture, the CU ratio is a fair first estimate: the larger card offers roughly 60 percent more shader throughput.

The technical lead also checks memory. The larger card has a wider 384-bit bus and more cache, so its extra CUs are less likely to starve. A test render of a fluid simulation confirms the estimate: frame time drops from 42 seconds to about 27 seconds, a gain of roughly 55 percent. The studio buys the larger card, and its developers set OpenCL workgroup sizes to 64 so every lane in each compute unit stays busy.