RUNTIME_VERSION 2214: a Managed buffer over a guest RAM's chunks is copied in by the GPU from their imports
A Managed two-copy buffer whose host copy is its pages alone, where a guest RAM's chunk imports hold every page of it (a buffer across a chunk end), now keeps pieces of those imports, and its copies in are GPU copies from them: no CPU staging, no bound and no submission. Before, its named ranges were staged by the CPU at each commit. AtCommit still stages a named range at the commit. New WorkCounts name the path: managed_bytes_staged_in, managed_bytes_copied_in_from_ram, managed_pages_alone_refused, managed_pages_alone_over_imports, managed_pages_alone_unwritable and managed_pages_in_ram_chunks. That changes runtime behaviour. Verified by the change's own runs on the RTX 2080: the equality tests (a 4 MiB buffer across a chunk end, both policies) pass, checking the counts, the bytes the GPU reads after a CPU write across the end and which path copied them; MANAGED-RAM-COPY-IN at 32 MiB across the end, commit call 2.139 -> 0.035 ms and completion 19.41 -> 17.40 ms (0.257 -> 0.010 ms at 4 MiB); host_ram_device 29/29, managed_copy_device 30 passed. lavapipe suite 2472/2472; clippy plain, --cfg m2v_cpu_icd and --cfg m2v_gpu and rustdoc green.
This commit is contained in:
1 parent
2d98657ca8
commit
003dc10fee
1 file changed
+1
-1
Vendored
+1
-1
@@ -93,7 +93,7 @@ pub const ARTIFACT_FORMAT_VERSION: u32 = 516;
|
||||
/// 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 = 2213;
|
||||
pub const RUNTIME_VERSION: u32 = 2214;
|
||||
|
||||
/// 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