Files
metal2vulkan/crates
Anees Iqbal aedf88330e translator tests: the lockstep step-cost tests judge work and ledger, under no deadline
tests::engine_simd_lockstep::the_authored_4096_step_kernel_compiles_inside_the_budget failed
in the lavapipe leg of the b7c5a59920 round (m3-max-48393, msi, the loaded suite) with
"4096 steps inside the standard budget: Budget(Time)" after 27.0 s: 11,747,827 work units,
ledger peak 161,960,281. Its own doc says its work stands for its time (2.4 s in release on the
slowest CPU measured); the 20 s deadline of Budget::standard() is a wall-clock threshold, and a
debug build beside other jobs crossed it.

steps_cost, which all three step-cost tests use, now meters under Budget::default(): the
standard work and ledger caps (Meter::new), no deadline. The asserts on work units and the
ledger peak are unchanged. The 20 s ceiling is release-mode timing's, in an exclusive job.

Verified at this tree (m3-max-48575, msi, built as the lavapipe leg builds: --cfg m2v_cpu_icd):
clippy of the translator and validation clean; the three step-cost tests pass alone (4096
steps: 14,218,766 work units, ledger peak 207,901,502); the 4096-step test passes 3 of 3 rounds
under 48 busy loops on 24 CPUs, taking 29.5 to 32.2 s, past the 20 s the old deadline allowed.
2026-11-18 16:11:52 -08:00
..