GPU tests: skip mesh_dispatch test when no SM 6.6 GPU is available #74
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!74
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/74/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@certified-retart on GitHub · 2026-11-23 00:53 UTC · original
certified-retart:fix/mesh-dispatch-skip-no-gpu→main· +5 −0 · 1 files · 1 commits · merged 2026-11-23 10:29 UTCgpu::recomp::mesh_dispatch::tests::gpu_dispatch_matches_native_wave64_referencecheckeddxc::location()before compiling, then calledrunner::dispatch(...).unwrap()without checkingrunner::adapter().On a machine without an SM 6.6 D3D12 runtime (for example Windows 10 22H2 build 19045 with inbox
D3D12Core.dll10.0.19041.5794, even with an RTX 5070, or a headless runner), every other recompiler GPU test skips cleanly viarunner::skip_test("no GPU")while this test panics:This adds the same
runner::adapter()check before DXC compilation (matchinggpu_ready_wave32()ingpu/recomp/tests.rs) so it printsSKIPPED ...: no GPUand honorsXCL_REQUIRE_GPU.Validation
Windows 10 Pro
10.0.19045, RTX 5070 (XCL_ADAPTER=0), Rust 1.100.0x86_64-pc-windows-msvc, DXC 1.9.2602.17:cargo test --workspace -- --test-threads=2failed ongpu_dispatch_matches_native_wave64_reference(no SM 6.6).cargo test --workspace -- --test-threads=2passed (372 passed, 0 failed, 34 ignored,43SKIPPED ...: no GPU).XCL_REQUIRE_GPU=mesh cargo test -p xcl --lib gpu_dispatch_matches_native_wave64_referencefails as expected (no GPU, but XCL_REQUIRE_GPU=mesh).@ivall on GitHub · 2026-11-23 10:29 UTC · original
Merged. Tested on Windows 11 with an RX 9070 (RDNA4):
cargo test --workspacegreen with the retail samples (shader pack, console DLLs, texture archive), also withXCL_SPLIT_WAVE64=1(the 32-lane split path forced on RDNA). Unicorn Overlord and XDefiant run with this round merged. Thanks!