LESSON 27.13 · 6 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW
Tensor Core MMA and accumulation precision
Watch Tensor Cores multiply tiles and see which formats keep the answer.
Pro lesson. Stage 1 is free to watch. Pro opens all 6 stages, 3 controls and 3 checks, in this lesson and every other.
Go Pro · $8.25/moEXPLAINER · 27.13 · TENSOR CORESFP16 · 1 MMA · 8,192 FLOPS IN 8 NS
01
Stage 1 of 6 · One MMA
One Tensor Core MMA multiplies a 16 × 16 tile by a 16 × 16 tile. It adds the result into C.
Explain it simply
The outlined tiles of A and B go into one Tensor Core instruction, an MMA, a matrix multiply and add. It does 8,192 FLOPs in 8 nanoseconds on one SM. The same work takes the CUDA cores 64 nanoseconds.
A 16 by 16 tile of A and a 16 by 16 tile of B are outlined. One MMA adds their product into the top-left 16 by 16 tile of C in 8 ns.
weights A, exponent bitsinputs B, value bits, memory timeoutputs C, math timerounding errorCUDA-core time, exact sum, unused bits
Toy: the 27.C2 matmul, 64 × 64 eighths, on a toy GPU with 4 SMs
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
One MMA multiplies two tiles and adds into the C tile.
PRO LESSON · YOU WATCHED STAGE 1 OF 6
Unlock the full explainer
- 5 more stages and 3 live controls
- 2 mix-up cards and 3 predict-then-reveal checks
- Watch it as a narrated video, in three voices
- Every Pro lesson and capstone · 656 in total
$99 a year, or $15 a month. Cancel any time.