arXiv(opens in a new tab)cs.MSSep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.09095

Ozaki 2.5: Engineering the Deconstruction Path of fp64-Emulated Dense Matrix Multiplication on FP8 Tensor Cores

Satoshi Matsuoka

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

FP8 Ozaki II emulates FP64 matrix multiplication with a fixed schedule of low-precision tensor-core products over a CRT residue system. Converting the FP64 operands into residue planes—the deconstruction charged by the fourth term of the Tensor-Memory Equilibrium (TME) model of Part 1 [11], identified in the NVIDIA technical review [2]—consumes integer-pipe and memory resources before any tensor instruction issues. This paper engineers that path. It is a companion to Part 1 but an independent contribution: Part 1 argues a platform-coverage thesis and prices deconstruction as one cost term among four, never opening the conversion path itself, whereas every technical result below—the split closures, the two-limb kernels, the modulus/encoding codesign, the route menu and its crossover algebra, the reconstruction-aware engine, and the closed-form reach floor with its hardware asks—appears only here. We make four contributions, all conditional reduced-model projections pending the measurement campaign we specify; no new kernel is measured here.

(1) A deconstruction-aware performance model, with the honest ceiling stated up front. Deconstruction competes with the low-precision stream through the harmonic mean nˉ=2mn/(m+n)\bar{n} = 2mn/(m+n) of the output dimensions: below a size crossover the emulated rate rises with nˉ\bar{n} (the branch through NVIDIA's preliminary ∼200\sim 200-TFLOPS "Emulated DGEMM" at model-inferred nˉ≈500\bar{n} \approx 500-900) and approaches the raw arithmetic roof PFP8/(3r+1)P_{\mathrm{FP8}}/(3r+1) (≈473\approx 473 TFLOPS at Rubin's 17.5-PFLOPS rate, r=12r=12) only within a single thread-block cluster (a≤2562a \leq 256^2 output). A larger output is re-split on the fly, once per cluster, holding the achieved rate at the deconstruction-λ\lambda floor, ≈235\approx 235 TFLOPS on Rubin for cluster-aligned large squares—half that 473-TFLOPS roof, the one-half being a derived ratio of three design integers (cluster reach, pipe-provisioning ratio, plane-formation cost), not a fitted efficiency—and the regime a DGEMM benchmark such as HPL runs in (≈1.9\approx 1.9 EFLOPS FP64 on a 10,000-GPU cluster). That figure is route- and shape-conditional and we state the condition up front: it is the codesigned hybrid set E at NB ≈1024\approx 1024, the upper end of the cited 892-1024 GPU-HPL panel-width range; the published set S, which carries the round-to-nearest Ozaki II theorem, floors at ≈182\approx 182 TFLOPS (0.38 of its 473-TFLOPS roof, ≈1.4\approx 1.4-1.5 EFLOPS). Ragged, non-aligned sizes dip further, to a disclosed rigid-schedule worst case of ≈0.36\approx 0.36 of that same

*“Ozaki 2.5” names an implementation-level proposal: the mathematics of Ozaki Scheme II is unchanged on the published modulus set (accuracy inheritance is proved for the round-to-nearest variant; the implemented truncation rule is a stated obligation, and codesigned variants carry per-set proof obligations, Appendix A), and the terminology will be coordinated with the Ozaki-II/FP8-Ozaki-II authors. All performance numbers in this paper are conditional reduced-model projections; no new kernel is measured here. A companion paper, “FP8 is All You Need” (Part 1, arXiv:2606.06510), covers the shared tensor-memory equilibrium model and hardware co-design proposal.

†Correspondence: matsu@acm.org roof—the only minimum we construct. A ragged-edge-aware (predicated) schedule is modeled to recover ≈0.54 there; we log that as a Part-3 validation target, not a second guaranteed floor. Crossover and floor are one curve, drawn together (Fig. 3), not a late reveal. The positive corollary is that the floor is a large-square phenomenon: the tall/skinny and small-batch shapes that dominate real solvers (block-Krylov, batched GEMMs, panel factorisations) re-split their big operand only once (λA=1\lambda_A=1, bounded λeff≈1.25−1.5\lambda_{\text{eff}} \approx 1.25-1.5) and stay near the crossover—only lightly clipped (0.89−0.94×0.89-0.94\times), never at the floor—so Ozaki 2.5 is already worth ≈1.6−1.9×\approx 1.6-1.9\times (≈2×\approx 2\times on block-Krylov shapes) over simple deconstruction on Rubin today, with no hardware change (Table 11).

(2) The Ozaki 2.5 method. Leaving the Ozaki II reconstruction framework unchanged, we engineer the deconstruction path around the actual 9–11-bit FP8 modulus set: convert-once residue-plane workspaces, an exact two-limb constant-reduction GEMM on integer tensor pipes (or its pure-SIMT dp4a realisation), a ≈6.3\approx 6.3-instruction SIMT residual, and conversion pipelined behind the MMA stream—moving the Rubin crossover from ≈1,211\approx 1,211 to ≈480−730\approx 480-730 and modeled throughput at nˉ=512\bar{n}=512 from ≈200\approx 200 to 364-438 TFLOPS (a conditional 1.8−2.2×1.8-2.2\times convert-once envelope).

(3) Modulus/encoding codesign. A script-checked study shows the modulus set is itself a performance parameter: an all-byte system (15 coprime moduli ≤256\leq 256) legalises a one-pass reduction and is projected faster below nˉ≈540\bar{n} \approx 540 despite a 20% lower roof; a hybrid (squares ≤332\leq 33^2 plus a byte tail) concedes only 7.5% asymptotically while dominating below nˉ≈620\bar{n} \approx 620; and two exhaustive supply bounds (squares cap at 94.1 bits, sub-64 systems at 89.9, both short of the 111.8 required) close the space—motivating a regime-switched modulus dispatch.

(4) Potential hardware co-design. Because the floor is the closed-form RPint/(cqr)RP_{\text{int}}/(c_q r)—a per-element deconstruction load cqrc_q r/reach—it names its own escape: we specify cluster reach, TMEM capacity, and L2 service bandwidth for dense DGEMM (with a target table), and the deconstruction-cost (cqc_q) datapath of Part 1—minimally an in-flight-convert copy engine, which also un-binds the conversion-bound sparse kernels—each a concrete, measurable ask that lifts the emulated rate toward the arithmetic roof, none yet present in silicon.

None of this is Rubin-specific: instantiated at Blackwell Ultra (GB300) rates the same machinery yields a 135-TFLOPS roof already at its own floor (roof-bound), a ∼166\sim 166-TOPS residual-INT8 cap that reshuffles the route ranking (the all-byte set leading via pure-SIMT dp4a), and, against a ≈1.4\approx 1.4-TFLOPS native FP64 pipe, every modeled route above native for nˉ≥32\bar{n} \geq 32—so the method is present-tense on shipping hardware. Measured GEMM/SYRK call-shape traces across four application classes (LOBPCG, multifrontal LU, CCSD, blocked LAPACK) ground the shape analysis. Every rate is flagged achieved today—meaning modeled on shipping silicon with no hardware change, a reduced-model projection, not a measured kernel—or convert-once envelope (clipping-limited) where it appears; four falsifiable predictions with a decisive size sweep, baselines (GEMMul8 [26], fused-kernel work [10]), and negative controls define the test, and all scripts, traces, and the parameter file generating every figure and table are supplied with this submission as a reproduction artifact (arXiv ancillary files); an archival Zenodo DOI and commit hash will be added in the first arXiv revision.

Keywords: FP64 emulation; Ozaki Scheme II; Ozaki 2.5; FP8 tensor cores; deconstruction cost; dense matrix multiplication; hardware co-design; Tensor-Memory Equilibrium model; NVIDIA Blackwell (GB300); NVIDIA Rubin.

1 Introduction

Double-precision dense matrix multiplication is entering its emulated era. On NVIDIA’s Rubin generation, native FP64 matrix throughput is no longer the headline; instead the official specifications list “Emulated DGEMM” as a first-class column—∼200\sim 200 TFLOPS per GPU [17, 9]—a preliminary, “up to” specification whose algorithm, mode, and benchmark dimensions are not published; the natural candidate is the Ozaki II scheme [23] on FP8 tensor cores [27, 13], which

NVIDIA’s public material describes as the direction of its emulation work [14]. NVIDIA thus positions emulated DGEMM as the primary high-throughput FP64 matrix path, and its projected rate is a product specification.

That specification invites a comparison the companion Part 1 paper [11] makes precise. At the official 17.5-PFLOPS dense FP8 rate of the DGX Rubin NVL8 specification [18], the analytic ceiling of FP8 Ozaki II at r=12r=12 moduli—3r+1=373r+1=37 FP8 MMA passes per FP64 product—is

PFP83r+1=17,50037≈473 TFLOPS,\frac{P_{\mathrm{FP8}}}{3r+1}=\frac{17,500}{37}\approx473\ \mathrm{TFLOPS},

so the announced specification is ≈42%\approx 42\% of the raw arithmetic quotient. That 473-TFLOPS quotient is a peak-operation roof, not an attainable ceiling—tile efficiency, launches, reconstruction, and resource contention all take their share, and B200 calibration suggests a sustained-FP8 efficiency well below unity at large sizes [27]—so a delivered efficiency of ∼40%\sim 40\% (a ∼60%\sim 60\% shortfall) could be unremarkable. But part of the margin could also have a specific, identifiable, and largely removable cause, with a size-dependent signature that the alternative lacks.

The answer, up front. The removable part is the deconstruction cost, and honesty requires stating its ceiling before the constructions that chip at it. For a small output the emulated rate rises with nˉ\bar{n} and can approach the roof; but a large dense output—the regime a DGEMM benchmark such as HPL runs in—spans many thread-block clusters, on-the-fly conversion repeats once per cluster, and the achieved rate settles at the deconstruction-λ\lambda floor—≈235\approx 235 TFLOPS on Rubin for cluster-aligned sizes, half the 473-TFLOP roof, with ragged sizes dipping to a disclosed rigid-schedule worst case (Fig. 3, drawn with that floor so it is visible early, with the crossover, not only at the end). Ozaki 2.5 thus does not deliver the raw roof for large DGEMM on today's silicon; it delivers about half—still ≈8×\approx 8\times native FP64, consistent with NVIDIA's ∼200\sim 200-TFLOP figure—and, because the floor is set by the load cqrc_q r/reach, a co-design coordinate we lift back to the roof (§5.2). The equally important positive is that the floor is a large-square phenomenon: the tall/skinny and small-batch matrices that dominate real solvers (block-Krylov, batched GEMMs, panel factorisations) re-split their big operand only once (λA=1\lambda_A=1; bounded λeff≈1.25−1.5\lambda_{\mathrm{eff}}\approx 1.25-1.5), stay near the crossover (a mild 0.89−0.94×0.89-0.94\times, not the floor), and are already worth ≈1.6−1.9×\approx 1.6-1.9\times (≈2×\approx 2\times on block-Krylov shapes) over simple deconstruction with no hardware change (Table 11). Every performance number below is flagged achieved today or convert-once envelope (clipping-limited) where it appears—where achieved today means modeled to be attainable on today's silicon with no hardware change, a reduced-model projection like every rate here, not a measured kernel. The rival explanation for the margin—a size-independent efficiency artefact—carries an orthogonal signature that a single size sweep separates.