SEMANTICS_VERSION 2089: the lockstep pair search skips answered pairs, so long barrier-free kernels fit their work budget
The commit before this one replaces Reach with a search (lower/simd/lockstep/search.rs) that tries
no pair whose barrier is already a want, answers from one side where a block is uniform, walks
breadth-first, and stops expanding a block whose dominator (forward) or post-dominator (backward)
subtree is closed, barrier-free and acyclic once every divergent block in it is answered, trying
the uniform blocks inside by preorder interval. The wants are unchanged by construction, but
kernels refused as FALLBACK WorkUnits now translate, so a cached refusal must be computed again
(SEMANTICS).
Verified by radvcompile's runs: golden_hashes_match_the_table passes at the change and at
b60fd75969, engine_simd_lockstep 27/27 (m3-max-25588). a_long_barrier_free_kernel_s_work_grows_
with_its_blocks: whole-compile work for P0 K1 2.84M at S1024 and 11.38M at S4096 (4.0x, bound
6x); the_authored_4096_step_kernel_compiles_inside_the_budget (P1 K16) takes 36.98M units. On the
old search both fail LimitExceeded(WorkUnits) at 134,217,729 units (negative control 25582).
Unbounded work: P0 K1 S4096 313M -> 11.4M, P1 K16 S4096 328M -> 37.0M. Release command line on
msi (25596): P1 K16 S4096 1.41 s / 264 MB (RTX 5080 profile), 1.69 s / 279 MB (Iris); P0 K1 S4096
0.40 s / 73 MB; P1 K16 S2048 1.27 -> 0.70 s. Known open: a pair that never conflicts and whose
answer is never a want (many divergent writes to distinct objects all reaching each other) is
still tried against every access it reaches.
This commit is contained in:
1 parent
30bcdf7019
commit
65ad8ba049
1 file changed
+1
-1
Vendored
+1
-1
@@ -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 = 2088;
|
||||
pub const SEMANTICS_VERSION: u32 = 2089;
|
||||
|
||||
/// The byte-layout version of encoded artifacts (`CompiledFunction::to_bytes` and the
|
||||
/// [`PipelineArtifact`] encodings). Every encoded artifact carries it, and a decode under another
|
||||
|
||||
Reference in new issue
Block a user