Repository navigation
Tests: an opt-in skip passes under XCL_REQUIRE_GPU (#1651) - #1670
DeerSilver wants to merge 1 commit into
Conversation
skip_test turned every reason but the one matching the required feature into a panic, so the heap-window test failed whenever the opt-in XCL_HEAP_WINDOWS was off. "no heap windows" says nothing about the adapter; it now never fails. The decision moves to skip_fails, with unit tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Tested: 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 Not tested: Windows/D3D12 or the workspace suite. The distinguishing Windows check would be AI use: OpenCode (GPT-6.2 Astra) traced the caller, ran the isolated probes and wrote this report. |
|
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. |
|
Closing this in favour of #1680 (group D35 in #1607): both exempt "no heap windows" in 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. |
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
skip_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