Stream processor

Also known as: shader core

On this page 7

A stream processor is the smallest programmable arithmetic unit inside a graphics processor: a single execution lane that performs floating-point and integer operations on one data element per clock while thousands of identical lanes run the same instruction in parallel. In computer graphics hardware, the term is used mainly by AMD Radeon specifications, while the generic synonym shader core and the NVIDIA equivalent CUDA core describe the same basic building block.

Stream processor counts appear prominently on GPU spec sheets because they drive peak compute throughput, yet the number alone says little about real performance. A stream processor is not an independent CPU-style core: it has no instruction fetch, no branch unit and no cache of its own, and it only makes sense as one lane of a larger SIMD unit inside a compute unit.

How a stream processor executes shader code

A stream processor executes one lane of a single instruction, multiple data (SIMD) operation, so it computes the same instruction as its neighbors but on a different pixel, vertex or array element. The surrounding compute unit fetches and decodes each instruction once and broadcasts it to a group of lanes, which is why GPUs can fit thousands of lanes on a die that holds only a few dozen schedulers.

Work arrives in groups called wavefronts on AMD hardware and warps on NVIDIA hardware, typically 32 or 64 threads that move through the program together. Each thread is mapped to one lane, keeps its private values in a large vector register file, and uses the lane’s fused multiply-add (FMA) unit for most arithmetic. Special functions such as reciprocal, square root and sine run on separate transcendental units at lower rates.

The defining trick is latency hiding through occupancy. When one wavefront waits hundreds of cycles for data from VRAM, the scheduler switches to another resident wavefront in a single cycle, keeping the stream processors busy and favoring throughput over single-thread speed.

The table below lists the main parts of the execution path and the role each plays for the lanes.

ComponentLocationRole for the lane
Instruction schedulerCompute unitSelects a ready wavefront and issues one instruction to all lanes
Vector register fileSIMD unitHolds private per-thread values, often 128 KB or more per SIMD
FMA arithmetic unitEach laneComputes a × b + c, counted as two floating-point operations
Scalar unitCompute unitHandles values shared by the whole wavefront, such as loop counters
Local data shareCompute unitFast shared memory for threads in the same workgroup
Texture and load unitsCompute unitFetch textures and buffers from caches and VRAM
Components that feed a stream processor

Stream processor organization across GPU generations

The way stream processors are grouped has changed with each architecture, and the grouping determines how efficiently the lanes are used. ATI introduced the marketing term with its first unified shader design, the Radeon HD 2900 XT of 2007, which listed 320 stream processors organized as 64 five-wide VLIW units. VLIW packing depended on the compiler finding independent operations, so many lanes often sat idle.

AMD replaced VLIW with Graphics Core Next (GCN) in 2012, where each compute unit holds four SIMD16 units, or 64 stream processors, executing a 64-thread wavefront over four cycles. RDNA, introduced in 2019, regrouped the same 64 lanes into two SIMD32 units that issue a 32-thread wavefront in a single cycle, which cut latency for games. RDNA 3 added dual-issue capability, allowing some instruction pairs to execute in one cycle and doubling the theoretical rate.

The following table compares how the major vendors package their equivalent lanes.

Vendor or architectureLane nameGrouping unitTypical lanes per group
AMD TeraScaleStream processorVLIW5 or VLIW4 bundle4-5 per bundle
AMD GCNStream processorCompute unit with four SIMD1664
AMD RDNAStream processorCompute unit with two SIMD3264
NVIDIA Ampere and AdaCUDA coreStreaming multiprocessor (SM)128 FP32
Intel Xe-HPGVector engine laneXe-core with 16 vector engines128 FP32
Equivalent lane terminology by vendor

Because each vendor defines its lane differently, cross-vendor core counts are not directly comparable. A Radeon card with 6,144 stream processors and a GeForce card with 7,680 CUDA cores can deliver similar frame rates.

Stream processors, compute units and FLOPS

Stream processor count is the main input to the theoretical FLOPS figure quoted for a GPU. Peak single-precision throughput equals lanes × 2 operations per FMA × boost clock, so 6,144 stream processors at 2.5 GHz yield about 30.7 TFLOPS of FP32, or roughly 61 TFLOPS when RDNA 3 dual issue is counted. These numbers assume every lane performs an FMA on every cycle, which real workloads never sustain.

Stream processors handle general arithmetic and hand specialized work to fixed-function and specialized units. The table below separates the stream processor from the neighboring hardware it is often confused with.

UnitGranularityMain workloadProgrammable
Stream processorOne laneScalar FP32 and INT32 shader mathYes, via shaders and compute kernels
Compute unitGroup of 64 lanes plus schedulersRunning whole wavefrontsYes, as the scheduling container
Tensor coreMatrix blockLow-precision matrix multiplyIndirectly, through matrix instructions
RT coreFixed-function blockRay-box and ray-triangle testsNo, invoked by ray tracing calls
ROPFixed-function blockBlending and pixel outputNo, configured by the graphics API
Stream processor compared with related GPU units

Factors that limit stream processor utilization

Real performance depends on how many stream processors do useful work each cycle, and several effects reduce that share well below the theoretical peak.

The most common limiting factors, their symptoms and the usual remedies are summarized below.

Limiting factorWhat happensTypical mitigation
Branch divergenceLanes in one wavefront take different paths and are masked offRestructure branches, sort work by path
Memory bandwidth limitsLanes wait for VRAM data despite free ALU cyclesImprove cache reuse, compress data
Low occupancyToo few resident wavefronts to hide latencyReduce register and shared memory use per thread
Fixed-function bottleneckROPs, rasterizer or geometry stage saturate firstReduce overdraw or resolution of costly passes
Partial wavefrontsSmall dispatches leave lanes without threadsBatch work into larger dispatches
Common causes of idle stream processors

Reading stream processor counts when choosing a GPU

Stream processor count is a reliable comparison only within one architecture. Inside a single product family, such as two RDNA 3 cards, more stream processors at a similar clock and memory configuration generally means proportionally higher shader performance, often scaling by 70 to 90 percent of the lane ratio because memory and fixed-function units do not grow at the same rate.

  • Compare stream processors only within the same generation and vendor, never across Radeon and GeForce lines.
  • Check boost clock and memory bandwidth alongside the lane count, since both cap real throughput.
  • Use independent benchmarks of the target workload, such as a specific game engine or render application, for the final decision.

Put simply

A stream processor is one tiny calculator inside a graphics card. On its own it is simple and not especially fast. The power comes from numbers: a modern GPU holds thousands of these calculators, and they all perform the same step at the same moment, each on its own piece of the picture.

Think of a large classroom where a teacher reads one math instruction aloud and every student applies it to a different number on their own sheet. The teacher is the scheduler, and each student is a stream processor. This works brilliantly when everyone has the same kind of task, which is exactly what drawing millions of pixels requires. The key point is that more stream processors help most when compared within the same GPU family.

In practice

A small architectural visualization studio renders interior walkthroughs with a GPU path tracer and must choose between two graphics cards from the same RDNA 3 family. One card has 3,840 stream processors, the other 6,144 stream processors, with similar clocks and a wider memory bus on the larger model.

The studio runs its own benchmark scene, a 4K kitchen interior at 2,048 samples per pixel. The smaller card finishes in 14 minutes and the larger one in 9 minutes, a speedup of about 1.55 times against a lane ratio of 1.6 times. Profiling shows that memory bandwidth, not the stream processors, limits the remaining gap.

The team concludes that the lane count was a sound guide within one architecture, while its own benchmark confirmed the purchase.