Repository navigation
Tests: XCL_REQUIRE_GPU does not fail the heap-window skip (#1651) - #1680
emirduran707 wants to merge 1 commit into
Conversation
Heap windows are opt-in (XCL_HEAP_WINDOWS=1), so the skip of heap_window_out_of_memory_falls_back_to_the_switch_form without them is no missing GPU coverage, but skip_test turned it into a panic under XCL_REQUIRE_GPU=mesh or =wave64 on every GPU, and cargo stopped before the later test binaries. The rule moves into skip_fails, which leaves opt-in reasons out, with a unit test. Fixes xcl-dev#1651 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
NVIDIA run, since Not tested lists NVIDIA and Tested
Not tested
AI use
|
|
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. |
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
|
Test report on an NVIDIA card, head Tested
Regression run main: this PR's head: Not tested
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. |
XCL_REQUIRE_GPU=mesh(or=wave64) turned every skip reason except "no wave64" (or "no mesh shaders") into a failure. The heap-window test from 927adcc skips 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=4on cfef9d8: 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