AMD INSTINCT · CDNA 3 · gfx942

Inside the
MI300X.

One GPU.
Eight compute dies.
Let's look inside.

Follow a kernel from the package to the lanes that execute it. A guided journey through AMD's chiplet accelerator, with the NVIDIA concepts you already know.

Read the full walkthrough and write a Gluon GEMM [WIP]

304COMPUTE UNITS
192 GBHBM3 MEMORY
8COMPUTE DIES
Begin the descent
01 / PACKAGE

Drag the model to orbit. Select a component to inspect it.

02 / ACCELERATOR COMPLEX DIE

A GPU built
from smaller GPUs?

Not quite. Each XCD is a compute chiplet with 38 active CUs and a shared 4 MB L2 cache. Eight XCDs make up MI300X's 304 active CUs.

In SPX mode, the package appears as one GPU device. We launch one grid; the application doesn't have to launch work separately on every chiplet.

8 XCDs × 38 CUs = 304 active CUs
NVIDIA CONNECTION

An XCD is a physical compute die. It isn't a direct equivalent of a Hopper GPC. H100's compute logic lives on a monolithic GH100 die.

AMD · MI300 microarchitecture ↗
03 / COMPUTE UNIT

Where a block
gets to work.

A HIP block, also called a workgroup, executes on one CU. Its wavefronts share on-chip resources: registers, execution pipelines, and a 64 KiB scratchpad called LDS.

Scalar instructions handle values common to a wave. Vector instructions operate on per-lane values. Matrix instructions use dedicated matrix pipelines.

SGPRs / SALU

Wave-uniform values and control

VGPRs / VALU

Per-lane values and arithmetic

LDS

64 KiB of software-managed scratchpad

NVIDIA CONNECTION

The CU plays the role you associate with an SM. Resource counts and execution organization differ; a CU count is not an SM performance ratio.

AMD · Compute unit and pipelines ↗
04 / WAVEFRONT

Your warp
just got wider.

NVIDIA groups threads into 32-thread warps. CDNA 3 uses 64-thread wavefronts. A 256-thread block becomes four waves instead of eight warps.

The grid on the right is one wave, drawn as 8 × 8 for readability. Select a lane, or mask half the wave to see which lanes participate in a vector instruction.

4 waves8 NVIDIA warps

All lanes are active. This is thread grouping, not a cycle timing model.

A PORTING DETAIL

A full-wave shuffle reduction starts at offset 32 here. A hardcoded offset of 16 only combines 32 lane contributions into lane 0.

AMD · Wave size in HIP ↗
05 / MATRIX INSTRUCTION

64 lanes.
One matrix tile.

MFMA means Matrix Fused Multiply-Add. An instruction cooperatively computes D = A × B + C, with operands and accumulators distributed across the wave.

This example uses a 16 × 16 × 16 FP16 matrix operation with FP32 accumulation. Inspect a mathematical K slice, or switch to the instruction's actual lane-to-element mapping.

k = 0
v_mfma_f32_16x16x16_f16256 output values / 64 lanes = 4 FP32 values per lane

The grids use mathematical coordinates. K slices illustrate dot products, not hardware cycles. Lane ownership uses the default instruction modifiers and AMD's Matrix Instruction Calculator.

AMD · CDNA matrix core programming ↗
06 / FEEDING THE COMPUTE

The math is fast.
Keep it fed.

The memory hierarchy brings a value from HBM through caches to registers. A tiled kernel can stage values in LDS so a workgroup reuses them.

MI300X has 256 MB of last-level Infinity Cache, 4 MB of L2 per XCD, a 32 KiB vector L1 per CU, and 64 KiB of LDS per CU. LDS is explicitly managed, rather than another automatic cache.

PLAN A SHARED TILE
32 KiB / 64 KiBAt most 2 workgroups by LDS capacity

FP16 A + B tiles: stages × (M×K + K×N) × 2 bytes. Excludes padding and other storage; this is an LDS capacity bound, not predicted occupancy.

AMD · Hardware resource specifications ↗
KEEP EXPLORING

Now connect
the pieces.

Inspect individual components in Explore, or follow the memory operations of a tiled matmul in Trace.

Built by Jino Rohit.

THE REFERENCE DESK

Built on public
architecture documents.

The resource counts and instruction descriptions come from AMD's documentation. Placement, wires, particle animations, and elapsed time are schematic.

  1. CDNA 3 architecture white paper ↗

    Chiplets, compute units, matrix cores, cache and memory architecture.

  2. MI300 instruction-set reference ↗

    Registers, execution masks, MFMA, memory and data-share instructions.

  3. AMD GPU hardware specifications ↗

    Active CUs, cache sizes, LDS, register files, wave size, compiler targets.

  4. Compute unit performance model ↗

    Execution pipelines, scheduling, local storage and profiling concepts. Covers multiple CDNA generations.

  5. MI300X compute and memory partitioning ↗

    SPX and CPX modes, and physical versus logical device boundaries.

  6. MI300X product specifications ↗

    192 GB HBM3 and 5.3 TB/s advertised peak memory bandwidth.

Scope: MI300X / CDNA 3 / gfx942. Shared-resource sizes use KiB where applicable. Product memory and bandwidth follow AMD's advertised units. Independent educational project; not affiliated with AMD or NVIDIA.

A FAMILIAR POINT OF REFERENCE

MI300X meets
H100 SXM.

Match the concepts first. These capacities describe hardware resources; they are not application performance results.

ResourceMI300XH100 SXM
ArchitectureCDNA 3Hopper
Device targetgfx942sm_90
Compute organization8 XCDs, 304 CUsGH100, 132 active SMs
Thread grouping64-thread wave32-thread warp
Block scratchpad64 KiB LDS / CUUp to 228 KiB / SM
Matrix instructionsMFMAMMA / WGMMA
Device memory192 GB HBM380 GB HBM3
Advertised memory BW5.3 TB/s3.35 TB/s

A CU and an SM have different execution and resource organizations. H100's maximum shared allocation per block is 227 KiB and large allocations require explicit opt-in.

MAKE YOURSELF AT HOME

A few controls.

Drag / touch
Orbit the model
Wheel / pinch
Zoom in Explore and Trace
Click a component
Inspect its role and resources
← / →
Previous / next level, or trace step
1–6
Jump to an architecture level
R
Reset the camera
Space
Play / pause in Trace
Escape
Close a panel

In Read, scroll the page to descend. Reduced-motion preferences disable automatic orbit and animated transitions. All stages are also available through the level buttons.