Work per trip, as the matrices grow

Arithmetic intensity I = W / M against dimension n. Hover or use ←/→ to read the ledger at any n.

jump to:

Solid rising curve: matmul, exact (2n−1)/3 — the receipt shows its approximation 2n/3 alongside, so you can watch the gap between them shrink from noticeable (at n=2: 1 vs 1.33) to nothing as n grows. Solid floor line: the norm, pinned near 3/2. Dashed line: the machine's balance point I* ≈ 562 (B200). Above it, an operation is compute-bound; below it, memory-bound.