Skip to main content
← Lab

silent-fp16

confirmedC++ · Metal / Apple M4 ProSystems, numerics & scientific librariesJuly 11, 2026

the question

How does the Apple M4 Pro GPU accumulate a hand-written fp16 simdgroup_matrix matmul?

what came out

A kernel that declares a half accumulator accumulates in true fp16, down to ~5 effective mantissa bits at K=65536 (the ones-staircase plateaus at exactly 2048). Declaring a float accumulator is honored, and mx.matmul accumulates in fp32, so precision follows the accumulator type the kernel declares. Exact oracle plus NEON brackets.

method & receipts

  • Result: confirmed
  • Pre-registered: the prediction was written down and committed before the run.

→ read the code and re-run it

github.com/v-code01/silent-fp16