Repository navigation
Tests: select the requested adapter for heap probes - #2881
andrewDoing wants to merge 1 commit into
Conversation
|
Linux (Wine) dual-lane run at head Rig (Ryzen 9 9900X / RX 7900 XT / wine-11.0 Proton): 606/2, red set identical to today's fresh main baseline. Nothing to see on RADV. Boxb (i5-10600K / GTX 1070 550.163.01 / wine-10.0 + vkd3d-proton, xvfb): 605/3, and the veteran red Suite: AI use: Hermes agent (local Qwen-class) ran the tests and drafted this; I checked it before posting. |
xcl-dev#2872 re-pinned, probe past xcl-dev#2879)
Import public XCL PR xcl-dev#2881, by @andrewDoing. Source: xcl-dev#2881 Original head: 2c50cc7 GPL-2.0-only; original attribution retained. Imported for authorized synthetic test validation; not yet independently tested. Assisted-by: ChatGPT (GPT-6.2)
|
No open or merged PR changes adapter selection in tests/heap_probe.rs. #537, #2337, #2879 and #3016 do the same for other test files. AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human. |
|
merge-check
|
|
merge-check claim |
|
merge-check |
The opt-in D3D12 heap diagnostics ignored
XCL_ADAPTER, so they could print plausible limits for the default GPU while a different adapter was requested. Honor the selector, identify the actual device and report unavailable adapters through the standard skip mechanism.What is in it
crates/xcl/tests/heap_probe.rs: select the requested native D3D12 device for all four ignored probes, preserve the default-device behavior forauto, and print the adapter and LUID. When a device is unavailable, permissive mode now skips and strict mode fails.Tested
view_heap_capacityprobe on the RTX 5070 and WARP. The former reported maximum 1,000,000 views / 4,080 samplers and rejected a 1.2M view heap; WARP reported 2,097,152 / 2,097,152 and created it.autoselected the RTX 5070 as before.XCL_REQUIRE_GPU=meshall four failed as expected. Before the change the strictview_heap_capacitycontrol instead printed results from the default GPU.cargo test --workspace --no-fail-fast -- --test-threads=4, with a writable workspace DXIL cache: 1,441 passed, 5 failed, 47 ignored. A fresh clean-main run at8b957bechad the same totals. Four failures were known RTX 50 fuzz seeds (DXIL GPU fuzz tests reproducibly fail with E_OUTOFMEMORY on RTX 5060 #1905), and one was the synthetic-title DRED test. Both logged 26 skip events: 21 no wave64, three unsupported per-lane forms, one unavailable driver-cache option, and one unavailable heap-windows feature.Regression run
Not tested
AI use