Tests: XCL_REQUIRE_GPU does not fail the heap-window opt-in skip (#1651) #1680

Open
crastinator wants to merge 1 commit from upstream-pr/1690 into main
crastinator commented 2026-11-24 19:19:35 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by crastinator on 2026-11-24T19:19:35Z.


heap_window_out_of_memory_falls_back_to_the_switch_form (crates/xcl/tests/gpu_compute_e2e.rs, from 927adcc) fails in every XCL_REQUIRE_GPU run with the default config. It skips through runner::skip_test("no heap windows"), and skip_test turns every reason except the other hardware one into a panic under XCL_REQUIRE_GPU. Heap windows are opt-in (XCL_HEAP_WINDOWS=1), and even with the setting on, a setup without the shared heap's window views has none. Neither is a missing GPU feature. So the test now prints skip_test's SKIPPED <test>: <reason> line itself and returns. Fixes #1651.

What is in it

  • crates/xcl/tests/gpu_compute_e2e.rs: the no-heap-windows skip writes SKIPPED heap_window_out_of_memory_falls_back_to_the_switch_form: no heap windows (opt-in: XCL_HEAP_WINDOWS=1; or no shared heap) to uncaptured stderr (the line scripts/test.ps1 counts), not through skip_test. +4 / −1.

Tested

  • AMD Radeon RX 6700 XT (RDNA2, gfx1031, RADV NAVI22, Mesa 26.3.1), Ryzen 7 5700X, Linux 7.3.5. Proton Experimental 11.0-20261112's Wine, vkd3d-proton v3.1 + #257's patch (-Db_ndebug=true, dxil-spirv 53aac418), DXVK v3.1.1-209 dxgi, DXC 1.9.2609.5. Cross-built for x86_64-pc-windows-msvc, Rust 1.99.1, debug. The test binaries ran under Wine.
  • cargo test -p xcl --test gpu_compute_e2e -- --exact heap_window_out_of_memory_falls_back_to_the_switch_form:
    config main c160d86 this PR
    XCL_REQUIRE_GPU=wave64,mesh panics: no heap windows, but XCL_REQUIRE_GPU=wave64,mesh passes, prints the SKIPPED line
    XCL_REQUIRE_GPU=mesh panics, the same way passes, prints the SKIPPED line
    no XCL_REQUIRE_GPU passes passes, prints the SKIPPED line
    XCL_HEAP_WINDOWS=1 XCL_REQUIRE_GPU=wave64,mesh the test runs and passes the test runs (the driver ran out of memory on a pipeline with heap windows – building it in the switch form) and passes
  • XCL_REQUIRE_GPU=wave64,mesh cargo test --workspace --no-fail-fast -- --test-threads=4: 840 passed, 18 failed, 42 ignored, the same totals as main c160d86 in two runs here. main's 18 include this test. Here it passes with its SKIPPED line, and hle::acphal::tests::xapu_connect_returns_oom_and_cleans_up_on_failure failed once in its place. That's a parallel-only failure in the lib binary, which this PR does not change, and it passes with --test-threads=1. The rest are the known Wine-lane set plus the #1246 parallel cascade (fixed by #1520).
  • Per test, with --test-threads=1, compared with main c160d86: 849 passed, 9 failed, 42 ignored, against main's 848 / 10 / 42. The only difference is this test, FAILED → ok.

Regression run

  • Not needed: test-only (crates/xcl/tests).

Not tested

  • Windows (the change is platform-independent).
  • A test that fails without the fix: the case is the test itself under XCL_REQUIRE_GPU, which the table above covers. A shared "config skip" helper in runner.rs, or a change to skip_test's reason handling (its doc lists four reasons; any other fails under XCL_REQUIRE_GPU), would touch crates/xcl/src and need a regression run, so I left both out.
  • Anything that needs game files: no XCL_SAMPLE_* set.

Notes

  • The new line copies runner::skip_test's SKIPPED <test>: <reason> format and names the test as a literal, so it has to follow any change to that format (or a rename of the test).
  • On purpose, it also covers "XCL_HEAP_WINDOWS=1 but no shared heap / UMA windows". XCL_REQUIRE_GPU is about lost wave64 / mesh coverage, which this is not. Telling the two cases apart would need a getter from crates/xcl/src.
  • Still open, and the same kind of problem elsewhere, for follow-ups: skip_test("no UMA") / ("no GPU UMA") in predication_e2e.rs and sparse_reinit.rs, and ("no GPU with 32- or 64-lane waves") here under XCL_REQUIRE_GPU=mesh, all panic for reasons that are not the required feature. async_compute_pso_registers_real_pso_and_not_standin skips on XCL_ASYNC_PSO=0 without a SKIPPED line.

AI use

  • Claude Code (Claude Opus 5.5) wrote the change, ran the tests and wrote this description. It went through two rounds of code review and the findings were fixed or are noted here. I read and checked the diff.
<!-- greyfinch-sync:ivall/xcl:issue:5478753726 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1690). Originally posted by [crastinator](https://github.com/crastinator) on 2026-11-24T19:19:35Z. --- `heap_window_out_of_memory_falls_back_to_the_switch_form` (`crates/xcl/tests/gpu_compute_e2e.rs`, from 927adcc) fails in every `XCL_REQUIRE_GPU` run with the default config. It skips through `runner::skip_test("no heap windows")`, and `skip_test` turns every reason except the other hardware one into a panic under `XCL_REQUIRE_GPU`. Heap windows are opt-in (`XCL_HEAP_WINDOWS=1`), and even with the setting on, a setup without the shared heap's window views has none. Neither is a missing GPU feature. So the test now prints `skip_test`'s `SKIPPED <test>: <reason>` line itself and returns. Fixes #1651. **What is in it** - `crates/xcl/tests/gpu_compute_e2e.rs`: the no-heap-windows skip writes `SKIPPED heap_window_out_of_memory_falls_back_to_the_switch_form: no heap windows (opt-in: XCL_HEAP_WINDOWS=1; or no shared heap)` to uncaptured stderr (the line `scripts/test.ps1` counts), not through `skip_test`. +4 / −1. **Tested** - AMD Radeon RX 6700 XT (RDNA2, gfx1031, RADV NAVI22, Mesa 26.3.1), Ryzen 7 5700X, Linux 7.3.5. Proton Experimental 11.0-20261112's Wine, vkd3d-proton v3.1 + #257's patch (`-Db_ndebug=true`, dxil-spirv `53aac418`), DXVK v3.1.1-209 `dxgi`, DXC 1.9.2609.5. Cross-built for `x86_64-pc-windows-msvc`, Rust 1.99.1, debug. The test binaries ran under Wine. - `cargo test -p xcl --test gpu_compute_e2e -- --exact heap_window_out_of_memory_falls_back_to_the_switch_form`: | config | `main` `c160d86` | this PR | |---|---|---| | `XCL_REQUIRE_GPU=wave64,mesh` | panics: `no heap windows, but XCL_REQUIRE_GPU=wave64,mesh` | passes, prints the `SKIPPED` line | | `XCL_REQUIRE_GPU=mesh` | panics, the same way | passes, prints the `SKIPPED` line | | no `XCL_REQUIRE_GPU` | passes | passes, prints the `SKIPPED` line | | `XCL_HEAP_WINDOWS=1 XCL_REQUIRE_GPU=wave64,mesh` | the test runs and passes | the test runs (`the driver ran out of memory on a pipeline with heap windows – building it in the switch form`) and passes | - `XCL_REQUIRE_GPU=wave64,mesh cargo test --workspace --no-fail-fast -- --test-threads=4`: 840 passed, 18 failed, 42 ignored, the same totals as `main` `c160d86` in two runs here. `main`'s 18 include this test. Here it passes with its `SKIPPED` line, and `hle::acphal::tests::xapu_connect_returns_oom_and_cleans_up_on_failure` failed once in its place. That's a parallel-only failure in the lib binary, which this PR does not change, and it passes with `--test-threads=1`. The rest are the known Wine-lane set plus the #1246 parallel cascade (fixed by #1520). - Per test, with `--test-threads=1`, compared with `main` `c160d86`: 849 passed, 9 failed, 42 ignored, against `main`'s 848 / 10 / 42. The only difference is this test, FAILED → ok. **Regression run** - Not needed: test-only (`crates/xcl/tests`). **Not tested** - Windows (the change is platform-independent). - A test that fails without the fix: the case is the test itself under `XCL_REQUIRE_GPU`, which the table above covers. A shared "config skip" helper in `runner.rs`, or a change to `skip_test`'s reason handling (its doc lists four reasons; any other fails under `XCL_REQUIRE_GPU`), would touch `crates/xcl/src` and need a regression run, so I left both out. - Anything that needs game files: no `XCL_SAMPLE_*` set. **Notes** - The new line copies `runner::skip_test`'s `SKIPPED <test>: <reason>` format and names the test as a literal, so it has to follow any change to that format (or a rename of the test). - On purpose, it also covers "`XCL_HEAP_WINDOWS=1` but no shared heap / UMA windows". `XCL_REQUIRE_GPU` is about lost wave64 / mesh coverage, which this is not. Telling the two cases apart would need a getter from `crates/xcl/src`. - Still open, and the same kind of problem elsewhere, for follow-ups: `skip_test("no UMA")` / `("no GPU UMA")` in `predication_e2e.rs` and `sparse_reinit.rs`, and `("no GPU with 32- or 64-lane waves")` here under `XCL_REQUIRE_GPU=mesh`, all panic for reasons that are not the required feature. `async_compute_pso_registers_real_pso_and_not_standin` skips on `XCL_ASYNC_PSO=0` without a `SKIPPED` line. **AI use** - Claude Code (Claude Opus 5.5) wrote the change, ran the tests and wrote this description. It went through two rounds of code review and the findings were fixed or are noted here. I read and checked the diff.
throny commented 2026-11-24 21:09:22 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-11-24T20:15:37Z.


Two contributors checked independently and found that #1666 #1670 #1680 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.

<!-- greyfinch-sync:ivall/xcl:comment:7143265014 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1690#issuecomment-7143265014). Originally posted by [throny](https://github.com/throny) on 2026-11-24T20:15:37Z. --- <!-- xcl-1607-hint:D35 --> Two contributors checked independently and found that #1666 #1670 #1680 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.
crastinator commented 2026-11-24 21:09:34 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by crastinator on 2026-11-24T20:35:36Z.


I saw #1666, #1670 and #1680 only after opening this. They came in between my search and this PR, so this is the fourth fix for #1651. Thanks @mantavisual for running all four side by side. For whoever picks one:

  • #1666 and this PR change only the test, so they stay test-only. This one also writes skip_test's SKIPPED <test>: <reason> line to uncaptured stderr, so scripts/test.ps1 still counts the skip. #1666 returns without a line.
  • #1670 and #1680 fix it in runner::skip_test itself, with unit tests. That's broader and would also cover the next non-hardware reason, but it touches crates/xcl/src.
  • None of the four covers the second case @mantavisual found (pso_measurement_compiles_an_exact_synthetic_record without Developer Mode). A skip_test change could, if it treats every reason that isn't a requirement as a plain skip.

I'm happy to close this in favour of whichever you prefer.

<!-- greyfinch-sync:ivall/xcl:comment:7143784760 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1690#issuecomment-7143784760). Originally posted by [crastinator](https://github.com/crastinator) on 2026-11-24T20:35:36Z. --- I saw #1666, #1670 and #1680 only after opening this. They came in between my search and this PR, so this is the fourth fix for #1651. Thanks @mantavisual for running all four side by side. For whoever picks one: - #1666 and this PR change only the test, so they stay test-only. This one also writes `skip_test`'s `SKIPPED <test>: <reason>` line to uncaptured stderr, so `scripts/test.ps1` still counts the skip. #1666 returns without a line. - #1670 and #1680 fix it in `runner::skip_test` itself, with unit tests. That's broader and would also cover the next non-hardware reason, but it touches `crates/xcl/src`. - None of the four covers the second case @mantavisual found (`pso_measurement_compiles_an_exact_synthetic_record` without Developer Mode). A `skip_test` change could, if it treats every reason that isn't a requirement as a plain skip. I'm happy to close this in favour of whichever you prefer.
DavidM1911 commented 2026-11-24 22:06:57 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-24T22:02:40Z.


Verification on RTX 3060 Ti (Windows 11), branch merged with current main:

  • cargo test -p xcl --lib: all passed, 0 failed, ~23 ignored.

Thanks!

<!-- greyfinch-sync:ivall/xcl:comment:7145726703 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1690#issuecomment-7145726703). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-24T22:02:40Z. --- Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, ~23 ignored. Thanks!
JJAutoCompare commented 2026-11-25 05:08:21 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by JJAutoCompare on 2026-11-25T04:31:04Z.


XCL PR #1690 — Arc A770 verification

Clean detached head cfb4730f07eb4975807257493c1bb5b8c678cbaa on STOR-WINLAB. The diff changes only crates/xcl/tests/gpu_compute_e2e.rs.

Windows 11 Enterprise Evaluation x64 build 26200, AMD Ryzen 7 3800X, Intel Arc A770 driver 32.0.101.9175, DXC 1.9.2609.5, and rustc 1.100.0 (0ef1bc386, x86_64-pc-windows-msvc). Dev and test profiles were unoptimized, with debug info and incremental compilation disabled.

Tested

  • cargo build --workspace and cargo test --workspace --no-run both exited 0 outside the Arc mutex. The latter built 19 test executables.
  • cargo test -p xcl --test gpu_compute_e2e heap_window_out_of_memory_falls_back_to_the_switch_form -- --exact --nocapture ran under the Arc mutex with XCL_ADAPTER=A770 and XCL_HEAP_WINDOWS unset. Each run (XCL_REQUIRE_GPU=1 and wave64) initialized the real A770 backend, emitted one named SKIPPED marker, and exited 0. Each libtest result was 1 passed, 0 failed, 0 ignored, 3 filtered out. wave64 is the setting that would make the old skip call panic. The runner ignores 1.
  • cargo test --workspace --no-fail-fast -- --test-threads=4 ran once under the Arc mutex with XCL_ADAPTER=A770 and RUST_TEST_NOCAPTURE=1. Exit 1. The 20 result lines in pr1690-suite.log (19 binaries and one doctest target) total 840 passed, 18 failed, and 42 ignored.

Workspace failures and skips

  • Library tests had 17 failures. Thirteen reported CreateComputePipelineState returning 0x80070057. Four had assertion failures involving FMA contraction, mip sampling, f16 high-half preservation, or wave reductions.
  • The e2e target had one failure in test_title_runs_and_game_folder_is_untouched. The RSSetDepthBiasX check read blue where it expected green.
  • Six lines began with SKIPPED , including two for wave64, two for missing debug-layer support, one for tiled resources tier below 2, and the heap-window opt-in skip. These six are included in libtest's pass total and provide no coverage.

Not tested

Matched main baseline, heap-window OOM fallback with XCL_HEAP_WINDOWS=1, retail game data or smoke run, and other GPU vendors.

AI use

T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high) ran the build and verification. Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against pr1690-suite.log and published.

<!-- greyfinch-sync:ivall/xcl:comment:7152914409 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1690#issuecomment-7152914409). Originally posted by [JJAutoCompare](https://github.com/JJAutoCompare) on 2026-11-25T04:31:04Z. --- # XCL PR #1690 — Arc A770 verification Clean detached head `cfb4730f07eb4975807257493c1bb5b8c678cbaa` on STOR-WINLAB. The diff changes only `crates/xcl/tests/gpu_compute_e2e.rs`. Windows 11 Enterprise Evaluation x64 build 26200, AMD Ryzen 7 3800X, Intel Arc A770 driver 32.0.101.9175, DXC 1.9.2609.5, and rustc 1.100.0 (0ef1bc386, x86_64-pc-windows-msvc). Dev and test profiles were unoptimized, with debug info and incremental compilation disabled. **Tested** - `cargo build --workspace` and `cargo test --workspace --no-run` both exited 0 outside the Arc mutex. The latter built 19 test executables. - `cargo test -p xcl --test gpu_compute_e2e heap_window_out_of_memory_falls_back_to_the_switch_form -- --exact --nocapture` ran under the Arc mutex with `XCL_ADAPTER=A770` and `XCL_HEAP_WINDOWS` unset. Each run (`XCL_REQUIRE_GPU=1` and `wave64`) initialized the real A770 backend, emitted one named `SKIPPED` marker, and exited 0. Each libtest result was 1 passed, 0 failed, 0 ignored, 3 filtered out. `wave64` is the setting that would make the old skip call panic. The runner ignores `1`. - `cargo test --workspace --no-fail-fast -- --test-threads=4` ran once under the Arc mutex with `XCL_ADAPTER=A770` and `RUST_TEST_NOCAPTURE=1`. Exit 1. The 20 result lines in `pr1690-suite.log` (19 binaries and one doctest target) total 840 passed, 18 failed, and 42 ignored. **Workspace failures and skips** - Library tests had 17 failures. Thirteen reported `CreateComputePipelineState` returning `0x80070057`. Four had assertion failures involving FMA contraction, mip sampling, f16 high-half preservation, or wave reductions. - The `e2e` target had one failure in `test_title_runs_and_game_folder_is_untouched`. The `RSSetDepthBiasX` check read blue where it expected green. - Six lines began with `SKIPPED `, including two for wave64, two for missing debug-layer support, one for tiled resources tier below 2, and the heap-window opt-in skip. These six are included in libtest's pass total and provide no coverage. **Not tested** Matched `main` baseline, heap-window OOM fallback with `XCL_HEAP_WINDOWS=1`, retail game data or smoke run, and other GPU vendors. **AI use** T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high) ran the build and verification. Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against `pr1690-suite.log` and published.
upstream-sync closed this pull request 2026-11-25 23:07:36 +00:00
CalvyPZ commented 2026-11-25 23:09:15 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by CalvyPZ on 2026-11-25T22:42:59Z.


This PR has been marked as a duplicate and closed after multiple agreeing checks in #1607. If you believe this is incorrect please re-open with why.

<!-- greyfinch-sync:ivall/xcl:comment:7176702732 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1690#issuecomment-7176702732). Originally posted by [CalvyPZ](https://github.com/CalvyPZ) on 2026-11-25T22:42:59Z. --- This PR has been marked as a duplicate and closed after multiple agreeing checks in #1607. If you believe this is incorrect please re-open with why.
upstream-sync reopened this pull request 2026-11-26 00:04:33 +00:00
github-actions[bot] commented 2026-11-29 20:44:40 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-29T20:44:40Z.


Nothing has happened on this PR for 3 days, so it is marked stale and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto main if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.

<!-- greyfinch-sync:ivall/xcl:comment:7262323089 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1690#issuecomment-7262323089). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-11-29T20:44:40Z. --- Nothing has happened on this PR for 3 days, so it is marked `stale` and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto `main` if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.
crastinator commented 2026-11-29 21:14:31 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by crastinator on 2026-11-29T21:14:31Z.


Still fixes #1651 (the heap-window test no longer fails when XCL_HEAP_WINDOW is unset) and still merges cleanly; it only waits for a maintainer to pick between this and #1666. Happy to close it if #1666 is the one you want.

<!-- greyfinch-sync:ivall/xcl:comment:7262718274 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1690#issuecomment-7262718274). Originally posted by [crastinator](https://github.com/crastinator) on 2026-11-29T21:14:31Z. --- Still fixes #1651 (the heap-window test no longer fails when `XCL_HEAP_WINDOW` is unset) and still merges cleanly; it only waits for a maintainer to pick between this and #1666. Happy to close it if #1666 is the one you want.
Foniass commented 2026-12-01 06:29:51 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T06:29:51Z.


Triage (#1607) – head cfb4730

Same issue as #1666 (#1651), solved differently. #1666 returns early, silently, when XCL_HEAP_WINDOWS is not 1. This PR keeps the check and writes the SKIPPED line itself instead of calling runner::skip_test, so test.ps1 still counts the skip. #1670 and #1680 (exempting the reason inside skip_test) are closed. Main still calls runner::skip_test("no heap windows") there.
The new line also covers the case where XCL_HEAP_WINDOWS=1 but the adapter has no shared heap, which XCL_REQUIRE_GPU then no longer turns into a failure.
Recommendation: keep open.

AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.

<!-- greyfinch-sync:ivall/xcl:comment:7302941419 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1690#issuecomment-7302941419). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T06:29:51Z. --- **Triage (#1607)** – head cfb4730 Same issue as #1666 (#1651), solved differently. #1666 returns early, silently, when `XCL_HEAP_WINDOWS` is not `1`. This PR keeps the check and writes the `SKIPPED` line itself instead of calling `runner::skip_test`, so `test.ps1` still counts the skip. #1670 and #1680 (exempting the reason inside `skip_test`) are closed. Main still calls `runner::skip_test("no heap windows")` there. The new line also covers the case where `XCL_HEAP_WINDOWS=1` but the adapter has no shared heap, which `XCL_REQUIRE_GPU` then no longer turns into a failure. Recommendation: keep open. AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
grathepic commented 2026-12-03 00:11:26 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by grathepic on 2026-12-03T00:11:26Z.


merge-check

  • base: 078358a058
  • head: cfb4730f07
  • merge: clean (git diff --check exit 0)
  • build: cargo +1.98.1-x86_64-pc-windows-msvc build --offline --locked --workspace — exit 0 (36 pre-existing warnings in xcl lib)
  • tests:
    • Targeted Windows matrix (cargo +1.98.1-x86_64-pc-windows-msvc test --offline --locked -p xcl --test gpu_compute_e2e -- --exact heap_window_out_of_memory_falls_back_to_the_switch_form --nocapture, with XCL_DXC_DIR=C:\VulkanSDK\1.4.363.0\Bin):
      • default (no XCL_REQUIRE_GPU, no XCL_HEAP_WINDOWS): 1 passed, 0 failed (0.41s), emits SKIPPED heap_window_out_of_memory_falls_back_to_the_switch_form: no heap windows (opt-in: XCL_HEAP_WINDOWS=1; or no shared heap)
      • XCL_REQUIRE_GPU=mesh: 1 passed, 0 failed (0.38s), emits the same SKIPPED line (no panic)
      • XCL_REQUIRE_GPU=wave64,mesh: 1 passed, 0 failed (0.38s), emits the same SKIPPED line (no panic)
      • XCL_HEAP_WINDOWS=1 + XCL_REQUIRE_GPU=mesh: 1 passed, 0 failed (0.46s), exercises injected OOM fallback (the driver ran out of memory on a pipeline with heap windows – building it in the switch form (1 so far)) with 0 skips
    • Full workspace (cargo +1.98.1-x86_64-pc-windows-msvc test --offline --locked --workspace --no-fail-fast -- --test-threads=4, with XCL_DXC_DIR=C:\VulkanSDK\1.4.363.0\Bin): 3006 passed, 0 failed, 52 ignored across 44 harnesses; 27 SKIPPED (22 no wave64, 2 no heap windows, 1 no GPU_UPLOAD heaps, 1 no dxil.dll, 1 cannot disable the driver cache (Windows Developer Mode required)). Confirmed the uncaptured stderr SKIPPED line matches scripts/test.ps1's ^SKIPPED \S+: (.+)$ regex without --nocapture.
  • title run: not required (Tier 0 test-only PR; +4/-1 in crates/xcl/tests/gpu_compute_e2e.rs, zero production code or dependency changes)
  • review: Read full diff (+4/-1) and audited against runner::skip_test (crates/xcl/src/gpu/recomp/runner.rs:652-661) and scripts/test.ps1:21. Correctly uses writeln!(std::io::stderr(), ...) so libtest does not capture the SKIPPED line and test.ps1 still counts it, while avoiding skip_test's panic under XCL_REQUIRE_GPU for an opt-in config flag (#1651). Note (#1607 group D35): overlaps with #1666 (which returns silently without a SKIPPED line); if this merges, #1666 can be closed.
  • performance: not applicable (test-only)
  • verdict: safe to merge
  • hardware / tool and model: NVIDIA GeForce RTX 3080 (driver 32.0.16.2140), AMD Ryzen 7 5800X3D, Windows 11 (10.0.26300.0), Rust 1.98.1-x86_64-pc-windows-msvc, DXC 1.9.0.5512 (VulkanSDK, no dxil.dll) / Antigravity, Gemini 4 Neon
<!-- greyfinch-sync:ivall/xcl:comment:7362900059 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1690#issuecomment-7362900059). Originally posted by [grathepic](https://github.com/grathepic) on 2026-12-03T00:11:26Z. --- merge-check - base: 078358a058f7ba5d16690dba8dc4e55d2c88ae0a - head: cfb4730f07eb4975807257493c1bb5b8c678cbaa - merge: clean (`git diff --check` exit 0) - build: `cargo +1.98.1-x86_64-pc-windows-msvc build --offline --locked --workspace` — exit 0 (36 pre-existing warnings in `xcl` lib) - tests: - Targeted Windows matrix (`cargo +1.98.1-x86_64-pc-windows-msvc test --offline --locked -p xcl --test gpu_compute_e2e -- --exact heap_window_out_of_memory_falls_back_to_the_switch_form --nocapture`, with `XCL_DXC_DIR=C:\VulkanSDK\1.4.363.0\Bin`): - default (no `XCL_REQUIRE_GPU`, no `XCL_HEAP_WINDOWS`): 1 passed, 0 failed (0.41s), emits `SKIPPED heap_window_out_of_memory_falls_back_to_the_switch_form: no heap windows (opt-in: XCL_HEAP_WINDOWS=1; or no shared heap)` - `XCL_REQUIRE_GPU=mesh`: 1 passed, 0 failed (0.38s), emits the same `SKIPPED` line (no panic) - `XCL_REQUIRE_GPU=wave64,mesh`: 1 passed, 0 failed (0.38s), emits the same `SKIPPED` line (no panic) - `XCL_HEAP_WINDOWS=1` + `XCL_REQUIRE_GPU=mesh`: 1 passed, 0 failed (0.46s), exercises injected OOM fallback (`the driver ran out of memory on a pipeline with heap windows – building it in the switch form (1 so far)`) with 0 skips - Full workspace (`cargo +1.98.1-x86_64-pc-windows-msvc test --offline --locked --workspace --no-fail-fast -- --test-threads=4`, with `XCL_DXC_DIR=C:\VulkanSDK\1.4.363.0\Bin`): 3006 passed, 0 failed, 52 ignored across 44 harnesses; 27 SKIPPED (22 no wave64, 2 no heap windows, 1 no GPU_UPLOAD heaps, 1 no dxil.dll, 1 cannot disable the driver cache (Windows Developer Mode required)). Confirmed the uncaptured stderr `SKIPPED` line matches `scripts/test.ps1`'s `^SKIPPED \S+: (.+)$` regex without `--nocapture`. - title run: not required (Tier 0 test-only PR; `+4/-1` in `crates/xcl/tests/gpu_compute_e2e.rs`, zero production code or dependency changes) - review: Read full diff (`+4/-1`) and audited against `runner::skip_test` (`crates/xcl/src/gpu/recomp/runner.rs:652-661`) and `scripts/test.ps1:21`. Correctly uses `writeln!(std::io::stderr(), ...)` so libtest does not capture the `SKIPPED` line and `test.ps1` still counts it, while avoiding `skip_test`'s panic under `XCL_REQUIRE_GPU` for an opt-in config flag (#1651). Note (#1607 group D35): overlaps with #1666 (which returns silently without a `SKIPPED` line); if this merges, #1666 can be closed. - performance: not applicable (test-only) - verdict: safe to merge - hardware / tool and model: NVIDIA GeForce RTX 3080 (driver 32.0.16.2140), AMD Ryzen 7 5800X3D, Windows 11 (10.0.26300.0), Rust 1.98.1-x86_64-pc-windows-msvc, DXC 1.9.0.5512 (VulkanSDK, no dxil.dll) / Antigravity, Gemini 4 Neon
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/1690:upstream-pr/1690'
git switch 'upstream-pr/1690'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/1690'
git switch 'upstream-pr/1690'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/1690'
git switch 'upstream-pr/1690'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/1690'
git switch 'main'
git merge --squash 'upstream-pr/1690'
git switch 'main'
git merge --ff-only 'upstream-pr/1690'
git switch 'main'
git merge 'upstream-pr/1690'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
xcl-dev/xcl!1680
No description provided.