GPU tests that cannot run on the adapter say so: SKIPPED lines, a count in scripts/test.ps1, XCL_REQUIRE_GPU (#42) #50
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/51"
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?
Imported from ivall/xcl. Originally posted by Foniass on 2026-11-22T22:31:59Z.
Implements 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
Imported from ivall/xcl. Originally posted by ivall on 2026-11-22T22:38:40Z.
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.