Tests: XCL_REQUIRE_GPU does not fail the heap-window skip (#1651) #1680
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!1680
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1680/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?
@emirduran707 on GitHub · 2026-11-24 19:14 UTC · original
emirduran707:tests-require-gpu-opt-in-skip→main· +36 −7 · 1 files · 1 commits · closed without mergingXCL_REQUIRE_GPU=mesh(or=wave64) turned every skip reason except "no wave64" (or "no mesh shaders") into a failure. The heap-window test from927adccskips with "no heap windows" whenXCL_HEAP_WINDOWSis unset. Heap windows are opt-in and off by default, so on any GPU that skip failed the run, and cargo then stopped atgpu_compute_e2ebefore running the later test binaries. Nothing is missing from the adapter there.skip_testnow leaves opt-in reasons out of the rule: "no heap windows" is still printed asSKIPPEDand never fails. The rule moved into a function,skip_fails, so it can be tested without setting the variable from inside a parallel test.Fixes #1651
What is in it
crates/xcl/src/gpu/recomp/runner.rs:skip_failsandOPT_IN_SKIPS, used byskip_test. Testrequired_gpu_fails_missing_hardware_not_opt_in_features: an opt-in reason never fails, missing hardware still does, and the wave64/mesh rules are unchanged.Tested
cargo test --workspace -- --test-threads=4oncfef9d8: 859 passed, 0 failed, 42 ignored; SKIPPED:heap_window_out_of_memory_falls_back_to_the_switch_form(no heap windows)XCL_REQUIRE_GPU=mesh cargo test -p xcl --test gpu_compute_e2e heap_windowpanics onmain(no heap windows, but XCL_REQUIRE_GPU=mesh) and passes with this change (the test printsSKIPPED)Regression run
main:
this PR:
Not tested
XCL_HEAP_WINDOWS=1runs, where the test does not skip.AI use
🤖 Generated with Claude Code
@fromthemoonx on GitHub · 2026-11-24 19:29 UTC · original
NVIDIA run, since Not tested lists NVIDIA and
XCL_HEAP_WINDOWS=1.Tested
stable-x86_64-pc-windows-msvc; debugcfef9d8e25a35bd991a70637b095fbf364b865b4, which is on currentmainc160d86(so also the merged result):cargo build --workspace, thencargo test --workspace --no-fail-fast -- --test-threads=4: 858 passed, 1 failed, 42 ignored. The failure wasgpu_sparse_vram_descriptors_buffers_and_xmem(submit 1 lane 0 mismatch,left: 0, right: 1077), and it is not this PR. It passed 3 of 3 runs alone on this head and 3 of 3 onmain, and the whole lib suite then passed 4 of 4 times on each. So that is 1 failure in 10 lib runs, only under the full workspace's load.XCL_REQUIRE_GPU=mesh, the same whole-workspace command: 859 passed, 0 failed, 42 ignored, all 20 test binaries ran. The onlySKIPPEDlines are the twono wave64ones, whichmeshallows, andheap_window_out_of_memory_falls_back_to_the_switch_form: no heap windows.XCL_REQUIRE_GPU=mesh cargo test -p xcl --test gpu_compute_e2e -- heap_windowpanics onmainc160d86(no heap windows, but XCL_REQUIRE_GPU=mesh) and passes here with the test printingSKIPPED.XCL_HEAP_WINDOWS=1on NVIDIA:gpu_compute_e2e, 4 passed, 0 failed.heap_window_out_of_memory_falls_back_to_the_switch_formran and passed (noSKIPPEDline). WithXCL_REQUIRE_GPU=meshset as well, it also passes.skip_failsignoringOPT_IN_SKIPS,required_gpu_fails_missing_hardware_not_opt_in_featuresfails (XCL_REQUIRE_GPU=mesh). 10 runs with the change: 10 of 10 passed.Not tested
AI use
@throny on GitHub · 2026-11-24 20:15 UTC · original
Two contributors checked independently and found that #1666 #1670 #1690 solves the same problem (for #1651) in a different way: #1607, group D35. You may want to compare them with the other author and agree on one, or say in the PR why both are needed.
This is a hint, not a request from the maintainers; nobody from the project has adopted #1607 so far.
AI use: Claude Code (Claude Opus 5.5), posted by a script from the #1607 table.
@emirduran707 on GitHub · 2026-11-24 20:55 UTC · original
Closing as a duplicate: #1666 fixed #1651 about 15 minutes before this PR was opened (my duplicate search did not show it yet). Thanks @throny for the pointer, and @fromthemoonx for the NVIDIA run; it may be useful on #1666 / #1690.
Written with Claude Code (Claude Opus 5.5).
@DavidM1911 on GitHub · 2026-11-24 21:37 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~22 ignored. (Intermittent single-test flake under parallel scheduling; clean on single-threaded rerun — same flake seen on unmodifiedmain.)Thanks!
@MiharaxD on GitHub · 2026-11-24 21:44 UTC · original
Test report on an NVIDIA card, head
cfef9d8(onmainc160d86), which covers the "NVIDIA" line.Tested
cargo build --workspace, thencargo test --workspace --no-fail-fast -- --test-threads=4(debug) oncfef9d8: 859 passed, 0 failed, 42 ignored (lib tests 810 / 0 / 22).gpu_geometry_wave32_prefix_count_over_a_mask(no wave64),gpu_wave32_program_in_wave64_hardware(no wave64).required_gpu_fails_missing_hardware_not_opt_in_featurespasses.Regression run
scripts/smoke.ps1 -Game <game folder> -Seconds 60(release builds, start screen, no input).mainisc160d86:main:
this PR's head:
Not tested
XCL_REQUIRE_GPU=meshor=wave64set, onmainor on this PR: only the default run above.XCL_HEAP_WINDOWS=1runs, AMD / Intel.AI use: Claude Code (Claude Opus 5.5) built the PR, ran the tests and both smoke runs, read the logs and wrote this report; I checked it before posting.
github-bot referenced this pull request2026-11-26 06:18:30 +00:00
Pull request closed