From 9d0a6d3dbd0aacddb8e9bccd5635e1b70d41c5cd Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Thu, 5 Nov 2026 00:43:59 -0800 Subject: [PATCH] Bump RUNTIME_VERSION to 1765: guest RAM copies on the GPU, and the device's teardown on the program's thread - BlitCommandEncoder::copy_from_host_ram and copy_to_host_ram gather and scatter 4 KiB runs of a HostRam straight from its chunk imports (one bind::pages_copy_module dispatch per chunk), taking each chunk as an object over it does, so the import window moves past it. New counters host_ram_copies, host_ram_copy_bytes and host_ram_copy_dispatches. - The queue-switch check holds no device handle, and a device's teardown stops it within one step, so the program's last drop tears the device down on its own thread (RTX 5080: the teardown lanes ran the destroy on m2v-queue-switch-check before). - The GPU hazard tests' opt-in cfg changes no runtime behaviour. Verified: see the cherry-picked commits (HostRam copy: M3 33/33 and RTX 5080 35/35 host_ram device tests; teardown: 8/8 teardown_threads three times on each of the RTX 5080 and the M3). --- crates/metal2vulkan/src/cache/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/metal2vulkan/src/cache/mod.rs b/crates/metal2vulkan/src/cache/mod.rs index ce86b7339..a9caedb3e 100644 --- a/crates/metal2vulkan/src/cache/mod.rs +++ b/crates/metal2vulkan/src/cache/mod.rs @@ -93,7 +93,7 @@ pub const ARTIFACT_FORMAT_VERSION: u32 = 484; /// changes no behaviour, and then updates that hash alone with the commit saying why, or changes /// behaviour and also bumps this version. The commit that bumps it says what changed; this comment /// keeps no history. -pub const RUNTIME_VERSION: u32 = 1764; +pub const RUNTIME_VERSION: u32 = 1765; /// The digest of the sources this build of the crate was compiled from: SHA-256, as lowercase hex, /// of the manifest, the build script, and exactly the files the crate roots' module tree compiles