SEMANTICS_VERSION 2086: a long barrier-free kernel's lockstep pair search fits its ledger

The commit before this one keeps one block's reachable list at a time in the lockstep pair
search, so a long barrier-free kernel no longer runs out of its ledger. The pairs, wants and
barriers are unchanged, but kernels that were refused (FALLBACK LedgerBytes) now translate, so a
cached refusal must be computed again (SEMANTICS).

Verified by radvcompile's runs: release on msi, the authored P1 K16 S2048 kernel (about 129,000
instructions) from FALLBACK LedgerBytes in 0.71 s to translated in 1.27 s at 139 MB resident on
the RTX 5080 profile and 1.30 s / 149 MB on Iris; S1024 unchanged at 0.50 s / 78 MB
(m3-max-25407). Negative control (25404, the new tests on the old search): ledger peak 10.3 MB at
256 steps against 144.5 MB at 1024 (14x), so the at-most-5x test fails, and the 2048-step test is
refused at 471.85 MB. At 0e4f537ef7, fmt and clippy rc 0 and the metal2vulkan suite 3545/3546
(25405). The one failure, golden_hashes_match_the_table, lists the same 837 cells at the tip and
at its base 65ca5fc387 alone (25442), all re-blessed at pin 69. Known open: a 4096-step kernel
is still refused (WorkUnits), the pair search's work being quadratic; that is next.
This commit is contained in:
Anees Iqbal committed 2026-11-13 07:57:50 -08:00
1 parent 19a0e85a9e
commit b60fd75969
1 file changed
+1 -1
+1 -1
View File
@@ -61,7 +61,7 @@ mod tests;
/// unchanged version, and its bless records the version. Independent of the crate's version and of
/// [`ARTIFACT_FORMAT_VERSION`]. The commit that bumps it says what changed; this comment keeps no
/// history.
pub const SEMANTICS_VERSION: u32 = 2085;
pub const SEMANTICS_VERSION: u32 = 2086;
/// The byte-layout version of encoded artifacts (`CompiledFunction::to_bytes` and the
/// [`PipelineArtifact`] encodings). Every encoded artifact carries it, and a decode under another