The old runtime's 64 KiB constant reads from a Managed buffer ran at 1.53x Private on the 3090 and
1.15x on the XTX once it moved Managed to a VRAM copy (4b4484576), and at 6.6x and 1.91x before.
No harness row measured it, so nothing held the new runtime to that figure.
- A plan's BufferPlan gains `modified`: a range the CPU writes again before each run, with the
buffer's starting bytes there (zero where it has none), and marks with didModifyRange: where
Managed, inside the timed runs. The bytes are those the range holds, so a run in flight reads
the same values and every run's result is the first's. Plan::validate refuses it on a Private
buffer and outside the buffer (BufferPlan::modify_problem). A session that gives such a buffer
no CPU copy refuses the plan with a typed refusal: the new runtime's session, whose Managed
buffer is a Private one until the new runtime has Managed storage.
- The authored fixture gains constant_reads: each of 2^20 threads folds 64 of a 64 KiB constant
table's 4,096 entries into a word. Regenerated by scripts/regen-air-fixtures (--dir harness
workloads) on the M3 with the recorded toolchain (job 43163).
- Two authored workloads over it, each with its CPU reference: constant_managed, its table
Managed with the first 256 bytes modified before each run, and constant_private, the same table
Private and never modified, its reference. On the new runtime constant_managed prints REFUSED
and the budget does not compare it until the new runtime's session maps Managed to the
runtime's own Managed buffers.
- A description's buffer takes managed storage, and `modify BUFFER OFFSET LENGTH` sets a buffer's
modified range; a private buffer, a buffer not yet made and a range past the buffer are
refused with their line.
Verified (check 43181, msi): clippy plain, --cfg m2v_gpu and --cfg m2v_cpu_icd; Rustdoc with and
without private items; the harness's tests, 22 of 22, among them every authored plan validating
(the two new ones with their CPU references), the description's managed buffer and modify range
parsed, and modify on a private buffer, an unmade buffer and past a buffer refused with their
line; its lavapipe device tests, 26 of 26, among them every authored workload on both runtimes,
each matching its CPU reference or refused with a typed refusal (the test prints which; its
output was not kept); and the translator's engine_identity tests over the regenerated fixture.