Repository navigation
Conversation
Two new #[ignore] integration tests that validate what the UMA copy path relies on: - buffers_over_the_same_video_memory_alias: two placed buffers over one default heap see each other's writes, and two reserved buffers whose tile maps to the same pool tile do too. Console buffers in the committed window's copy, and title buffers in a sparse window, depend on this aliasing. - timestamp_query_resolved_into_committed_and_reserved_buffers: a timestamp query resolved into a committed buffer and into a tile of a reserved one both produce a value. Based on Ahmet-Dedeler's c70bf8a on mac-on-main-wip. Co-authored-by: Ahmet Dedeler <105894172+Ahmet-Dedeler@users.noreply.github.com> Assisted-by: Claude Code (Claude Opus 4.6 ported it; Claude Opus 5.5 reviewed it)
|
Full-suite run, since this PR has no test report yet. Tested exact head Tested
Not tested
AI use
|
|
im trying to run a test only pr too, but my pr is getting flagged on the smoke check thing. How did you pass the checks without smoke test? |
|
@WASDeKeys: AI use: Claude Code, Claude Opus 5.5 drafted this reply. |
|
The probes on Linux with vkd3d-proton (NVIDIA), next to the D3DMetal and Windows runs. Tested
Not tested
AI use
|
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
@vakaobr so if my pr changes in vram.rs, and it is a runtime file, but only a test chage, theres no way to get the pr approved |
Part of #258. Two probes from Ahmet-Dedeler's
c70bf8athat check what the unified memory copy path relies on: that buffers placed over the same video memory see each other's writes, and how timestamp queries resolve into committed and reserved buffers. Like the other tests inheap_probe.rs, they are#[ignore]probes that print what the host does; run them with--ignored.Based on Ahmet-Dedeler's
c70bf8aonmac-on-main-wip("Unified memory without OpenExistingHeapFromAddress: the committed window gets a copy in video memory"), which he handed over in #258 (comment). Rebased ontomain930e8b4and split into four PRs.What is in it
crates/xcl/tests/heap_probe.rs:buffers_over_the_same_video_memory_alias(placed buffers over one heap, and reserved buffers whose tiles map to one pool tile) andtimestamp_query_resolved_into_committed_and_reserved_buffers.Tested
x86_64-pc-windows-gnu(mingw-w64 GCC 16.2.0), debug, DXC 1.9.2609. Each test in its own process (<test exe> --exact <test> --test-threads=1 --nocapture).a146528,--ignored: both pass. The aliasing probe printstruefor placed and for reserved buffers; the timestamp probe prints a frequency of 60 and a resolved value of0x0(D3DMetal's timestamps, see D3D12.X: timestamps are the CPU's clock on a host without GPU timestamps #996).cargo test --workspace -- --test-threads=4: 751 passed, 0 failed, 43 ignored on both; with--ignoredall 6 probes in the file pass, the aliasing probe printingtruefor both cases and the timestamp probe a frequency of 1 GHz and non-zero timestamps (@futurepro62, Tests: heap probes for aliased buffers and timestamp queries #1328 (comment)).Regression run
Test-only change in
crates/xcl/tests/: noxcl-smokeblocks.Not tested
AI use
c70bf8a. Claude Code with Claude Opus 5.5 reviewed them, ran them on this machine and wrote this description.