From f2be42c2297bc4c06c6889b7bea7a743c5df4332 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Tue, 10 Nov 2026 01:49:26 -0800 Subject: [PATCH] RUNTIME_VERSION 2003 and the runtime-sources pin for DeviceOptions::queue_limits What: the seven commits before this one (nvreds, steelbrain/nvreds-queue-limits 589b66d57d): DeviceOptions::queue_limits (None, the default, is the product's queue plan, unchanged) lets a device take fewer VkQueues than the plan, and says each placement that changes (an informational message, metal2vulkan-queue-limits-reached). The runtime lane's devices take one round-robin VkQueue and none for presenting, and fail a test on the limits' message; the 547 tests whose placement changes take the plan through their own adjust (at_plan). RUNTIME_VERSION 2002 -> 2003 (the runtime's new option and message). The pin follows. Why: the 5080 pin legs' long pole was the lane's 17-queue devices (~450 ms a make). Verified (nvreds): the pin's 5080 lane command in its 12 parts at tree 32e0adc2: 1927/1927, no limits message, wall 27.7 min (span 28.4) against 51.4 (52.1) at 63ccc9da0d for the same 1927 tests (summed part time 3119 s vs 5977 s); 780M (RADV PHOENIX) 1941/1941 in 433 s; Iris Xe (Intel manifest alone) 1941/1941 in 365 s; gem10 clippy (plain, m2v_gpu, m2v_cpu_icd) and rustdoc clean. Rebased tip on um790: clippy (three configurations), rustdoc, 68 unit tests and the m2v_gpu lane build clean. Expected on development's 5080 lane: lane tests landed since the discovery run that place a second command queue fail on the limits' message until flagged (nvreds fixes forward). Generators and api-signatures --check unchanged at landing. --- crates/metal2vulkan-validation/runtime-sources.sha256 | 2 +- crates/metal2vulkan/src/cache/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/metal2vulkan-validation/runtime-sources.sha256 b/crates/metal2vulkan-validation/runtime-sources.sha256 index d3d25d6bd..0823e57e2 100644 --- a/crates/metal2vulkan-validation/runtime-sources.sha256 +++ b/crates/metal2vulkan-validation/runtime-sources.sha256 @@ -1 +1 @@ -0e91dd8ce841443d14a923ed4af545785d29c888f7fb0ef51df2185b5cff547c +1d41196d0a3c57002803d465376559ebc37063c0a1499240db789089361703f9 diff --git a/crates/metal2vulkan/src/cache/mod.rs b/crates/metal2vulkan/src/cache/mod.rs index fc5370f90..09aace9d0 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 = 499; /// 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 = 2002; +pub const RUNTIME_VERSION: u32 = 2003; /// 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