Files
metal2vulkan/docs
Anees Iqbal c074aa490e Document the HostRam window's direction, the runs' imports and their fallback
docs/HOWTO.md's "One run inside one chunk" bullet now says what the
branch's runtime does: the window opens in the takes' direction, up or
down the RAM; an object over a chunk not imported yet is bound in an
import of its own run (run_bound_buffers_made, run_imports_live) and
never waits for the chunk's fault-in; the price is up to one more
allocation and pin per such object; and where the object falls back to
the chunk's import (thread stopped, chunk failed or given back,
allocations within the margin, a whole-chunk run, or
RuntimeDriverDefect::AliasedImportBlitsUnordered on MoltenVK).

It adds the measured result from tests/host_ram_window_bench.rs on the
RTX 5080 laptop (NVIDIA 615.71.09), at 2b2419c67c: 256 2 MiB heaps
upward, downward and scattered had no making of 5 ms or more (slowest
1.4, 1.5, 3.7 ms), against 2, 8 and 15 makings importing a chunk
(slowest 8.2 to 8.7 ms) without the change; 128, about 76 and 20 heaps
were bound in their own runs' imports.

Docs only; verified by reading the text against host_ram.rs's
for_object and after_take.

(cherry picked from commit 25572e5af997da7009960fa31bf94c5d478e2370)
2026-11-05 02:08:32 -08:00
..