What: tests::floor's a_device_with_no_cached_coherent_type_opens_where_the_floor_chooses_its_types
and tests::coherence's view test (renamed from every_gpu_read_as_the_refused_device_... to
every_device_opened_under_the_view_flushes_and_invalidates_the_shared_memory_work_reaches) share
one helper beside open_each_device, tests::command::on_device::each_device_under_the_view. For each
device of the cfg's kind it reads the buffer bits from a device made with no view, takes the
floor's choice (floor::choose) over the viewed memory properties, and makes the device through the
view: where the choice refuses, the make must refuse with exactly BelowFloor { missing } from that
choice, and one line names the device and the refusal; where it chooses, the device must open with
the chosen types and the test's body runs on it, settled and with its gauges checked at drop as
open_each_device does (its per-device steps are now run_settled, which both use). The floor test's
`if cfg!(m2v_cpu_icd)` guard is gone, and the coherence test's #[cfg(m2v_gpu)] with it: both run
under every device cfg. The doc comments state the structure: a device whose one host-visible,
host-cached buffer type also holds the parameter ring is refused under the view, with its refusal.
Why: round efd7dbcd4d-1125-1433, leg mac:rt (job m3-max-74110), KosmicKrisp 26.3.1 on the M3: both
tests failed with "below the runtime's floor: it lacks a memory type with DEVICE_LOCAL |
HOST_VISIBLE | HOST_COHERENT for buffers (the device offers buffers: type 0 with DEVICE_LOCAL |
HOST_VISIBLE | HOST_CACHED)". That device's one buffer type also holds the parameter ring, as
lavapipe's does, so the view leaves no ring type and the floor refuses it, as it should. The floor
test took the refusal arm by the device's kind; the coherence test had none.
Test-only; the runtime's behaviour is unchanged. docs/VALIDATION.md's m2v_shared_view note checked:
nothing in it is false, unchanged.
Verified: cargo fmt only; the quick check, the KosmicKrisp rt leg on the M3 and the Iris view leg
follow.