GPU tests that cannot run on the adapter say so: SKIPPED lines, a count in scripts/test.ps1, XCL_REQUIRE_GPU (#42) #51
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!51
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/51/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?
@Foniass on GitHub · 2026-11-22 22:31 UTC · original
Foniass:t3/make-gpu-test-skips-visible→main· +56 −5 · 8 files · 1 commits · merged 2026-11-22 22:38 UTCImplements option 3 from #42: GPU tests that cannot run on the adapter still pass, but now say so.
runner::skip_test(reason)writesSKIPPED <test>: <reason>straight to stderr (so it shows without--nocapture); reason isno GPU,no DXC,no wave64orno mesh shaders. Called fromgpu_ready/gpu_ready_wave32/mesh_ready, the wave64-only part ofgpu_geometry_wave32_prefix_count_over_a_mask, the DXC gates of two more tests, the device gate of the texture test, and the GPU gates ingpu_pso_e2eandconsole_shaders.XCL_REQUIRE_GPU=wave64(ormesh, orwave64,mesh) turns a skip that leaves that coverage out into a failure; no GPU / no DXC fail under either.scripts/test.ps1prints the test output as before and a count at the end. README's Tests section mentions both.Run on an RTX 5070 Ti (
XCL_ADAPTER=nvidia, wave32), noXCL_SAMPLE_*set. The AMD side wasn't run on this machine.Before (main):
After:
41 = the 40
gpu_ready()tests plus the native wave64 run insidegpu_geometry_wave32_prefix_count_over_a_mask(its wave32 part runs). Totals are unchanged (367 passed).With
XCL_REQUIRE_GPU=wave64:XCL_REQUIRE_GPU=meshon the same test: still passes with theSKIPPEDline.🤖 Generated with Claude Code
@ivall on GitHub · 2026-11-22 22:38 UTC · original
Thanks, merged! This is option 3 from #42, as agreed there. Tested with #50 on top of current
main, with the MSVC toolchain on Windows and an RX 9070 (wave 32–64, mesh shaders):SKIPPEDline.XCL_REQUIRE_GPU=wave64,meshpasses too,gpu_pso_e2eincluded with a retailshaders.rpf(6 / 6), so on this adapter the whole GPU coverage really runs.scripts/test.ps1's loop under Windows PowerShell 5.1, where2>&1turns native stderr lines into error records: theSKIPPEDlines are counted and the exit code still comes through$LASTEXITCODE.