RUNTIME_VERSION 2113: a grid narrower than a threadgroup runs on the flat variant's one pipeline
The commits before this one. compute.rs's flat_direct sent a dispatchThreads grid narrower than one threadgroup to the split form, one region whose local size is the grid itself, so each width was a VkPipeline of its own: a kernel that does not observe its partition, dispatched at ~64 narrow widths (reims's Valley on the XTX: GL-on-Metal's index fix-up kernel, 185,566 creations of 200 keys in 45 s, each remade ~900 times past the variant's 32-pipeline memo, every such dispatch's command buffer waiting for a pool making). Now any remainder on any axis, a grid that is only an edge included, takes the flat variant's one VkPipeline of the call's threadgroup size (docs/API.md's SplitDispatch entry already describes this); exact multiples and empty grids still go direct. The memo's size is unchanged. Also: the spares' mixed-load test keeps its load within HELD, and a new test of the cross-pool take runs in encoded order with nothing timed (it fails without the take: m3-max-20910; passes with it: m3-max-20907). Verified: tests/grid_widths.rs (widths 1..=100 in threadgroups of 128, twice) made [100, 100] pipelines before (m3-max-20779) and [1, 0] after (m3-max-20836); lanes dispatch_executions, degrade_notices, indirect_dispatches and compute_threadgroups 42/42 (m3-max-20782); runtime suite on lavapipe 2345 run, 2344 passed, the one failure fixed on development since (merge_scratch, e920f94991; m3-max-20921); lint at the fix (m3-max-20783).
This commit is contained in:
1 parent
7c9298d704
commit
3871cb62df
1 file changed
+1
-1
Vendored
+1
-1
@@ -93,7 +93,7 @@ pub const ARTIFACT_FORMAT_VERSION: u32 = 505;
|
||||
/// 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 = 2112;
|
||||
pub const RUNTIME_VERSION: u32 = 2113;
|
||||
|
||||
/// 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
|
||||
|
||||
Reference in new issue
Block a user