Repository navigation
kernel contract: refresh 226 stale nvcc 13.0 resource slots across 57 CUDA kernels, so the GB10 limits gate passes on main - #2390
Merged
Conversation
6 of 8 tasks
Record the 226 inherited target observations from the five-SM limits audit. Scope the 57 overrides to nvcc 13.0 and preserve every other compiler selection, canonical record and launch geometry.
… registry.zig stays at 600 lines
ashhart
force-pushed
the
lead/cuda-records-130
branch
from
November 7, 2026 03:48
31103ce to
cd5a142
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Main's expected CUDA launch resources for nvcc 13.0 are stale for 57 kernels: 226 of the per-SM slots across sm_80, 86, 89, 120 and 121. Building main with nvcc 13.0.88 on a GB10 and running
kernel-contract-limitsreports them asPASS limits … (record stale). Every launch is within its bounds, but its registers or static shared memory differ from the record, and stale records count as problems, so the gate fails on main itself. The kernels whose records are stale include the NVFP4 expert tiles, the activation rows, GDN training kernels and several Flash Next kernels.This refreshes exactly those 226 slots to the measured values, in a new
contract/measurements/main_130.zigthat the registry selects for nvcc 13.0. Nothing else moves:Checks:
zig build test-kernel-contract(22 of 22 steps, 199 tests). The registry serializer shows every other record and every launch field unchanged. The device check is the next full five-SM limits run on a GB10: a learner build that carries these same 226 refreshed slots is queued, and its limits gate must pass with no stale record left among them.