Same-device check of the measured non-MMA issue rate (registration)
Registered before any qualified 0.23.0 campaign of GB10 or the RTX 4070 exists. It fixes the check that the v0.3 preregistration lists for the measured non-MMA issue rate ("The registered same-device rate check rejects a miss above 10%") and the RTX 3070 evidence states: "a microbenchmark check on the same card would reject it: if pure FFMA or the mix, run as a kernel through the core, is predicted more than 10% off its measured rate." Nothing below changes once a qualified campaign exists. It is computed by scripts/non_mma_check.py as committed with this text (SHA-256 277dfdc4dde8cc405b0ebc2d888307c62ffd1ae12b6baf784a56115d60b8edc3), written and reviewed before any qualified campaign exists; python/tests/test_non_mma_check.py pins its two-sided rule, the strict 10% bound and its model side on synthetic inputs.
What is checked
non_mma_issue_rate_per_sm_gips is filled by collect_profile.py with the greater of two rates measured on the card: the pure FFMA rate (mma's fp32_fma point, fp32_fma_tflops over 64 FLOP per warp instruction) and the FFMA and LOP3 mix (sfu-shfl's alu_issue_rate_per_sm_gips at its peak warp count). The core charges every non-MMA instruction against that one rate. The check asks whether both kernels, written as KernelIR and run through the core with the profile, come out within 10% of their own measured rates.
The source that won is put back into the model that was built from it; its check tests only that the core's charge reproduces the field. The other one is the substantive part: whether one ceiling serves the other instruction mix too.
Data
For each GPU, the first qualified 0.23.0 campaign of that GPU (every mode passed; the profile carries capture_protocol) and the profile built from it. No separate capture: this is a consistency check of the profile on its own device, run before any workload labels are captured. An independent rerun of the rates would need its own registration.
From the campaign's merged raws:
- FFMA: the
fp32_fmapoint ofmerged-mma.json: itswarps_per_sm, its frozensteps(fromlaunch.length), and its rate, the median of its round medians offp32_fma_tflops_samplesconverted to warp instructions per SM per second (x 1e3 / (sm_count x 64),collect_profile.ffma_issue_samples). - Mix: the point of
alu_issue_rate_per_sm_gipsinmerged-sfu-shfl.jsonthatcollect_profile.peak_pointpicks (the highest median ofrate_gwarp_inst_per_sm_samples, as measured, not per MHz); itswarps_per_sm, frozenstepsand that median.
Model side
Each kernel is a synthetic KernelIR built with scripts/recheck_mechanisms.py (kernel(...)): grid = the profile's sm_count, one CTA per SM, warps = the point's warps_per_sm, no loads. Its work is the warp instructions per warp per iteration the measured rates are computed from: 8 for FFMA (fp32_fma_kernel: 8 fmaf per iteration) and 128 for the mix (alu_issue_kernel: 64 FFMA and 64 LOP3 per iteration); the loop counter and branch are left out on both sides. The core rejects a KernelIR with no MMA, so the kernel keeps recheck_mechanisms' single prologue MMA as its anchor.
The predicted time is the difference of the core's makespan_ns (device time, without the host launch cost) at two lengths, the frozen steps and half of it, with draws=0, warm cache; the difference removes the anchor MMA and every other fixed cost. The predicted rate is warps x instructions per iteration x step difference / time difference per SM, in Gwarp-inst/s, with no factor of sm_count.
Two ways of writing the work are possible, and they read the same sentence differently:
- Reading A, as a loop. The instructions are
aluops of the pipeline loop,stepsiterations, withresources.barriersset to 0. The core charges every pipeline step a stage synchronization (sync_nsfor the kernel's warp count and buffers,sim.rs), whether or not the loop has a barrier; these two microbenchmark kernels have none. On the bundledgb10.json(estimated field 10.036) this predicts 3.07 Gwarp-inst/s per SM for FFMA at 16 warps and 8.79 for the mix at 16 warps (illustration, not a qualified profile). FFMA, with 8 instructions per iteration, misses mainly through the step charge, not the field. - Reading B, in one block. The same instructions are one
aluop of the prologue (count = instructions per iteration x the length), next to the same anchor MMA, with an empty pipeline loop, so no step charge applies; the two lengths are differenced as above. The model then returns the field exactly at every warp count (10.036 in the same illustration), and the check compares each measured rate with the field:|field / measured - 1|at most 10%, so a source slower than the field must reach at least1 / 1.1(90.9%) of it. Since the collector picks the source per MHz, the field can also be the lower of the two measured rates, so both sides of the formula apply.
The real Triton kernels of the archived v0.2 IR set (1,104: 648 GEMM, 456 attention) all have barriers in their main loop (2 to 14 per step), so the step charge that reading A meets on these barrier-free microbenchmarks does not arise there. The core charges one sync_ns per step from the warp and buffer counts and does not read the barrier count (removing the barrier op or changing resources.barriers leaves predictions unchanged); both are listed in ROADMAP.md, unchecked for impact.
The measured rate is per launch, so it carries the launch's fixed cost (from the sfu-shfl and mma long-launch checks, at most about 1% at the frozen lengths). It is not corrected; the miss is reported as is.
Decision
For each GPU and each of the two kernels, the miss is |predicted / measured - 1| on the rates as measured (Gwarp-inst/s per SM, not per MHz). Either miss strictly above 10% rejects the measured field on that GPU; both at most 10% pass it; a GPU without a qualified campaign, or either point missing, is not decided.
Reading B is judged, at 10% strictly, with no adjustment afterwards; reading A is reported next to it without a verdict. The criterion is the author's (#20), and the choice of reading is his: "B is what I meant, so register B as the judged rule at 10% with no adjustment after, and report A next to it without a verdict" (2026-11-27), given before any qualified campaign exists. Under reading B the prediction equals the field, so for each source the miss is |field / measured - 1|.
GB10 and the RTX 4070 are judged by the same text. On a rejection the field is reported as rejected for that GPU in validation/v03-preregistration.md and its row stays provisional; what replaces it is not chosen here.
Reported, not judged
- The same comparison per MHz: the measured per-MHz rate is the median over rounds of each round's rate over the mean of its SM clock probes before and after; the predicted per-MHz rate divides the predicted rate by the clock basis of the field, its
valueover itsper_cycle.value(the winner's clock). Per-MHz numbers are not divided by any common target clock. - Reading A for both kernels, with its miss.
- Which source won, both measured rates and their ratio.
- The other warp counts of the mix curve, through the same model. The core does not limit issue by the number of warps, so the low warp counts are expected to miss widely; they answer another question. If the peak is at 16 warps it is judged as above, like any other peak.
Not covered
- Instruction mixes other than these two; whether the field should be a single rate.
- GPUs other than GB10 and the RTX 4070.
- Any workload: the sealed v0.3 holdouts judge the model with this field, not this check.
Usage: python scripts/non_mma_check.py --profile gb10=GB10.json --run gb10=RUN_DIR [--profile rtx4070=... --run rtx4070=...] --out OUT.json.
Owners: 7 (registration and script), 5 (profiles and campaigns); review 6.