Instruction cache
Front end · 1 per core
Keeps the shader program's instructions right next to the core, so the front end never waits on main memory to know what to do next.
- Apple doesn’t publish its size; on comparable GPU cores the instruction cache holds tens of kilobytes.
- A miss stalls the front end until the next instructions arrive from the shared L2 cache.
If it were missing: Every instruction would be fetched from far-away memory, and the whole core would stall between steps.
Fetch and decode
Front end · 1 per core
Reads the next instruction and translates it into signals the execution units understand. One decoded instruction drives a whole group of 32 threads at once, which is how a GPU gets so much work out of a small control unit.
- One decoded instruction drives 32 threads (a SIMD-group), so the control logic is shared 32 ways.
- When threads in a group take different branches, both paths run with some lanes switched off (divergence).
If it were missing: Nothing tells the rest of the core what to do, so every ALU sits idle.
Ray tracing unit
Accelerators · 1 per core (since M3)
Hardware that walks a scene's bounding-volume hierarchy and tests rays against triangles. These steps are branchy and irregular, exactly the kind of work ALU lanes are bad at.
- Hardware ray tracing arrived in Apple GPUs with M3 in 2023.
- It tests rays against bounding boxes and triangles in fixed-function hardware instead of shader code.
If it were missing: Ray-traced reflections and shadows would run as ordinary shader code, many times slower.
Thread schedulers
Front end · 4 per core, one per partition
Each cycle, picks a group of 32 threads that is ready to run (Apple calls it a SIMD-group, NVIDIA a warp). When one group stalls waiting on memory, the scheduler switches to another instantly. That's how GPUs hide memory delays instead of waiting them out.
- 4 per core, each feeding one 32-lane partition.
- Switching to another ready SIMD-group costs no extra cycles, because every group’s registers stay on the chip.
If it were missing: Threads waiting on memory would freeze their partition, and throughput would collapse.
Register files
Execution partitions · 4 banks per partition
The fastest storage on the chip, holding each thread's working variables. A GPU core keeps thousands of threads resident at once, so its register file is far larger than a CPU core's, and switching threads costs nothing because their state never leaves. Apple's Dynamic Caching shares this space with on-core memory and sizes it per program.
- Register files on a GPU core total hundreds of kilobytes, many times a CPU core’s.
- Since M3, Dynamic Caching hands out registers and on-chip memory as a shader actually uses them, instead of reserving the worst case.
If it were missing: Threads would have nowhere to keep intermediate values, so every calculation would round-trip through slower memory.
FP32 ALU lanes
Execution partitions · 128 per core, 32 per partition
The workhorses. Each lane performs a fused multiply-add on 32-bit floating-point numbers every cycle. All 32 lanes in a partition run the same instruction on different data, for example 32 pixels at once.
- 128 FP32 lanes, each doing a fused multiply-add (2 operations) per clock: 256 floating-point operations per clock.
- At about 1.4 GHz that is roughly 360 billion operations per second for one core.
If it were missing: The core loses its main job: massively parallel math. This is the part that makes a GPU a GPU.
FP16 and integer lanes
Execution partitions · shared across each partition
Handle half-precision math, which is plenty for many graphics and machine-learning operations and moves half the data, plus integer work like array indexing and address calculation.
- 16-bit floats take half the memory and bandwidth of 32-bit ones.
- Integer lanes compute array indices and memory addresses alongside the float math.
If it were missing: Integer and address math would steal cycles from the FP32 lanes, and half-precision work would run at full-precision cost.
Special function units
Execution partitions · 4 per partition
Dedicated circuits for expensive math such as sine, cosine, square root, reciprocal and exponentials. They compute fast approximations that would otherwise take dozens of ordinary instructions.
- There are far fewer of them than ALU lanes, so sines and square roots run at a fraction of the rate of multiply-adds.
- They return fast approximations, accurate to within a few units in the last place.
If it were missing: Lighting, rotations and neural-network activation functions would slow to a crawl.
Crossbar interconnect
Memory and data movement · wiring between units
The routing fabric that carries data between the partitions, the memory units and the rest of the chip, including the L2 cache shared by every GPU core.
- It links the core to the chip-wide cache shared by all GPU cores, the CPU and the Neural Engine.
- Apple silicon’s GPU uses the same unified memory as the CPU, so data needn’t be copied across a PCIe bus.
If it were missing: Each unit becomes an island. Nothing could reach memory or the other parts of the core.
Neural Accelerator
Accelerators · 1 per core (new in M5)
A matrix-multiply engine. Instead of 32 lanes each doing one multiply-add, it multiplies small tiles of matrices in a single operation, the core math of neural networks. This is where M5's big jumps in LLM prompt processing come from.
- New in the M5 generation (2025): one Neural Accelerator in every GPU core.
- Matrix engines work on small tiles of numbers in one operation instead of one value per lane.
If it were missing: AI work falls back to the regular ALU lanes. It still runs, just several times slower.
Texture units
Memory and data movement · 1 cluster per core
Fetch image data and filter it, blending neighboring texels so surfaces look smooth at any distance or angle. They also decompress textures on the fly.
- Bilinear filtering blends 4 texels; trilinear blends 8 across two mipmap levels.
- Anisotropic filtering takes up to 16 samples for surfaces seen at a glancing angle.
If it were missing: Shaders would read raw pixels and do the filtering math themselves, costing both bandwidth and ALU time.
Load/store units
Memory and data movement · 1 cluster per core
Move data between registers and memory. When 32 threads ask for 32 neighboring values, these units merge (coalesce) the requests into a few wide memory transactions.
- Coalescing can turn 32 neighbouring 4-byte reads into a single 128-byte memory transaction.
- Scattered addresses defeat coalescing, which is why memory layout matters so much in GPU code.
If it were missing: Registers would be cut off from memory: no data comes in and no results go out.
L1 cache and tile memory
Memory and data movement · shared by all threads on the core
Fast on-core memory that groups of threads can share (threadgroup memory in Metal, shared memory in CUDA), plus a cache for recently used data. On Apple GPUs it also holds tiles of the frame being rendered, so pixels are finished on-chip before being written out.
- Metal lets a threadgroup use up to 32 KB of this shared memory on Apple GPUs.
- Tile-based deferred rendering keeps each screen tile’s colour and depth on-chip until the tile is finished, saving memory bandwidth.
If it were missing: Every shared value and every frame tile would have to travel to the chip-wide L2 cache or system memory.