Tests: an opt-in skip passes under XCL_REQUIRE_GPU (#1651) #1670
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!1670
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1670/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?
@DeerSilver on GitHub · 2026-11-24 19:04 UTC · original
DeerSilver:tests/opt-in-skip-1651→main· +38 −7 · 1 files · 1 commits · closed without mergingskip_testturned every skip reason except the one that matches the required feature into a panic underXCL_REQUIRE_GPU, soheap_window_out_of_memory_falls_back_to_the_switch_formfailed whenever the opt-inXCL_HEAP_WINDOWSwas off, and cargo stopped before the later test binaries. "no heap windows" is about an opt-in feature, not the adapter, so it now never fails. Fixes #1651.What is in it
crates/xcl/src/gpu/recomp/runner.rs: the fail decision moves toskip_fails, which passes "no heap windows" through; two unit testsTested
XCL_REQUIRE_GPU=mesh cargo test -p xcl --test gpu_compute_e2e heap_window_out_of_memorypanicked as in the issue; after: passes, printsSKIPPED … no heap windowscargo test --workspace -- --test-threads=4: 860 passed, 0 failed, 42 ignoredXCL_REQUIRE_GPU=mesh: 860 passed, 0 failed, 42 ignoredgpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardware(no wave64),heap_window_out_of_memory_falls_back_to_the_switch_form(no heap windows)Regression run
runner.rsis a test helper undercrates/xcl/src, so this needs thetest-onlylabel.Not tested
XCL_REQUIRE_GPU=wave64on a full run,XCL_HEAP_WINDOWS=1AI use
🤖 Generated with Claude Code
@RobertAndreiGit on GitHub · 2026-11-24 19:15 UTC · original
Tested:
94ce38d2bd82b078ba5715b6efe043746e0533b9, Apple M3 Pro, macOS 15.7.3 arm64, rustc 1.100.0. Extractedskip_failsand its existing test module verbatim fromrunner.rsand ranrustc --edition=2021 --test policy.rs -o policy-tests && ./policy-tests --nocapture: 2 passed, 0 failed, 0 ignored. A separate probe calling the head'sskip_test("no heap windows")exited 0 and printedSKIPPED main: no heap windowswithXCL_REQUIRE_GPUempty,mesh,wave64, andwave64,mesh.That confirms the skip stays visible in the count. One distinction the helper can't make: the caller uses that same reason both when heap windows are off and when
XCL_HEAP_WINDOWS=1was requested but the shared heap/views couldn't be set up.Not tested: Windows/D3D12 or the workspace suite. The distinguishing Windows check would be
XCL_HEAP_WINDOWS=1,XCL_REQUIRE_GPU=mesh, and a confirmed shared-heap/view setup failure, runningcargo test -p xcl --test gpu_compute_e2e heap_window_out_of_memory_falls_back_to_the_switch_form -- --exact --nocapturein a fresh process. The test's injected pipeline-build OOM happens after setup succeeds, so it doesn't exercise that case.AI use: OpenCode (GPT-6.2 Astra) traced the caller, ran the isolated probes and wrote this report.
@throny on GitHub · 2026-11-24 20:15 UTC · original
Two contributors checked independently and found that #1666 #1680 #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.
@ivall on GitHub · 2026-11-24 20:50 UTC · original
Closing this in favour of #1680 (group D35 in #1607): both exempt "no heap windows" in
runner::skip_fails, with unit tests. This one was opened a few minutes earlier; #1680 is ready and has both checks green.This says nothing about the quality of the code here. If this PR covers a case the other one does not, or #1680 is closed without being merged, say so and I'll reopen it.
Thank you for the work.
AI use: Claude Code (Claude Opus 5.5) read the diffs and the checks in #1607 and wrote this comment, on the maintainer's behalf.
@DavidM1911 on GitHub · 2026-11-24 21:26 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.Thanks!
github-bot referenced this pull request2026-11-26 06:18:30 +00:00
Pull request closed