Tests: report disabled async compute PSO as skipped #645

Open
github-bot wants to merge 1 commit from github-bot/gh-645 into main AGit
Owner

@⁠juliptree on GitHub · 2026-11-24 02:49 UTC · original
juliptree:codex/async-pso-skip → main · +1 −1 · 1 files · 1 commits · open

With XCL_ASYNC_PSO=0, the async compute PSO test returned before exercising the pipeline. Its message bypassed the shared skip helper, so XCL_REQUIRE_GPU=wave64 still reported a pass.

What is in it

  • Call runner::skip_test before returning when async PSOs are disabled.

Tested

  • Windows 11 build 26200, Ryzen 7 7800X3D, RTX 5060 Ti, NVIDIA driver 616.92, Rust 1.100.0 MSVC debug, DXC 1.8.2502.11.
  • With async PSOs disabled and strict Wave64 mode enabled, stock cb868b20 exited 0. Patched aee6962 failed as expected with exit 101. With strict mode cleared, the patched test logged SKIPPED and exited 0.
  • With both overrides cleared, gpu_compute_e2e passed both tests on the RTX 5060 Ti with no skips.
  • cargo build --workspace --locked passed.
  • cargo test --workspace --locked -- --test-threads=4 reported 685 passed, 0 failed, 41 ignored. Two tests in the pass count explicitly skipped for lack of native Wave64: gpu_geometry_wave32_prefix_count_over_a_mask and gpu_wave32_program_in_wave64_hardware.

Regression run

  • Test-only change. No retail title smoke run.

Not tested

  • AMD hardware and retail titles.

AI use

  • Codex with GPT-6 prepared the patch, rebased it, ran validation, and drafted this description.
**@⁠juliptree** on GitHub · 2026-11-24 02:49 UTC · [original](https://github.com/xcl-dev/xcl/pull/645) `juliptree:codex/async-pso-skip` → `main` · +1 −1 · 1 files · 1 commits · open With `XCL_ASYNC_PSO=0`, the async compute PSO test returned before exercising the pipeline. Its message bypassed the shared skip helper, so `XCL_REQUIRE_GPU=wave64` still reported a pass. **What is in it** - Call `runner::skip_test` before returning when async PSOs are disabled. **Tested** - Windows 11 build 26200, Ryzen 7 7800X3D, RTX 5060 Ti, NVIDIA driver 616.92, Rust 1.100.0 MSVC debug, DXC 1.8.2502.11. - With async PSOs disabled and strict Wave64 mode enabled, stock `cb868b20` exited 0. Patched `aee6962` failed as expected with exit 101. With strict mode cleared, the patched test logged `SKIPPED` and exited 0. - With both overrides cleared, `gpu_compute_e2e` passed both tests on the RTX 5060 Ti with no skips. - `cargo build --workspace --locked` passed. - `cargo test --workspace --locked -- --test-threads=4` reported 685 passed, 0 failed, 41 ignored. Two tests in the pass count explicitly skipped for lack of native Wave64: `gpu_geometry_wave32_prefix_count_over_a_mask` and `gpu_wave32_program_in_wave64_hardware`. **Regression run** - Test-only change. No retail title smoke run. **Not tested** - AMD hardware and retail titles. **AI use** - Codex with GPT-6 prepared the patch, rebased it, ran validation, and drafted this description.
Use the shared GPU skip helper when XCL_ASYNC_PSO=0 so strict wave64 coverage detects the missed async PSO test.

Assisted-by: Codex (GPT-6)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:28:18 +00:00
Author
Owner

@⁠MesshM on GitHub · 2026-11-24 03:24 UTC · original

Test run of aee6962bc639674aec04e9b8855a47e100f36939 on AMD RDNA4. I merged it onto current main 91f9a5e locally (clean merge) and tested that tree.

Tested

  • AMD Radeon RX 9060 XT 16 GB (RDNA4, native wave64), driver 32.0.32029.2010; Ryzen 7 5700X, 64 GB RAM, Windows 11 Pro build 26200, Rust 1.100.0 stable-x86_64-pc-windows-msvc, debug
  • cargo build --workspace + cargo test --workspace -- --test-threads=4 on the merge: 692 passed, 0 failed, 41 ignored, exit code 0; xcl lib tests 652 passed, 0 failed, 21 ignored
  • 0 SKIPPED; all tests pass with the default settings (async PSOs on, so the changed path did not run).

Review: skip_test is the shared helper, so XCL_REQUIRE_GPU now sees the skip; the change is the one line it needs. I found nothing to change.

Not tested: no retail title or regression run (I have no unpacked game), no XCL_SAMPLE_* tests, release build; the PR's head on its old base was not run, only its merge onto main.

Run and review by Claude Code (Claude Opus 5.5) on this machine; the review points were checked against the code.

**@⁠MesshM** on GitHub · 2026-11-24 03:24 UTC · [original](https://github.com/xcl-dev/xcl/pull/645#issuecomment-7121066336) Test run of `aee6962bc639674aec04e9b8855a47e100f36939` on AMD RDNA4. I merged it onto current `main` `91f9a5e` locally (clean merge) and tested that tree. **Tested** - AMD Radeon RX 9060 XT 16 GB (RDNA4, native wave64), driver 32.0.32029.2010; Ryzen 7 5700X, 64 GB RAM, Windows 11 Pro build 26200, Rust 1.100.0 `stable-x86_64-pc-windows-msvc`, debug - `cargo build --workspace` + `cargo test --workspace -- --test-threads=4` on the merge: **692 passed, 0 failed, 41 ignored**, exit code 0; `xcl` lib tests 652 passed, 0 failed, 21 ignored - **0 `SKIPPED`**; all tests pass with the default settings (async PSOs on, so the changed path did not run). **Review:** `skip_test` is the shared helper, so `XCL_REQUIRE_GPU` now sees the skip; the change is the one line it needs. I found nothing to change. **Not tested:** no retail title or regression run (I have no unpacked game), no `XCL_SAMPLE_*` tests, release build; the PR's head on its old base was not run, only its merge onto `main`. Run and review by Claude Code (Claude Opus 5.5) on this machine; the review points were checked against the code.
Author
Owner

@⁠thaqiart139-alt on GitHub · 2026-11-24 22:48 UTC · original

Test report for this PR's head aee6962, merged into main 689f2db (no conflicts), on AMD RDNA2 with native 64-lane waves and on a 32-lane NVIDIA card.

Tested

  • GPUs: AMD Radeon(TM) Graphics, the RDNA2 iGPU of a Ryzen 7 7800X3D (native wave64, driver 32.0.21045.29003), and NVIDIA GeForce RTX 5070 (driver 32.0.16.2101), chosen with XCL_ADAPTER.
  • System: 32 GB, Windows 11 Home build 26300, Rust 1.100.0, debug, DXC 1.9.2602.17.
  • cargo test --workspace --no-fail-fast -- --test-threads=4:
main 689f2db with this PR
RTX 5070 971 passed, 4 failed, 45 ignored 971 passed, 4 failed, 45 ignored
Radeon iGPU 974 passed, 1 failed, 45 ignored 974 passed, 1 failed, 45 ignored
  • This PR adds no failure. The failures are the same on main, from #1679's new fuzz tests, and both are already reported on #1679:
    • RTX 5070: fuzz_validate_and_gpu_0 to _3 (CreateComputePipelineState: 0x8007000E)
    • iGPU: fuzz_validate_and_gpu_1 (seed 540: res[833] = 0x7, CPU 0x6)
  • The change only shows with XCL_ASYNC_PSO=0, so I also ran cargo test -p xcl --test gpu_compute_e2e -- --test-threads=1 with it set, on both GPUs. On main, async_compute_pso_registers_real_pso_and_not_standin returns with no SKIPPED line. With this PR it prints SKIPPED async_compute_pso_registers_real_pso_and_not_standin: async PSO disabled by XCL_ASYNC_PSO=0. 4 passed, 0 failed on both GPUs, with and without the PR.
  • Without XCL_ASYNC_PSO, the counts are the same as on main.
SKIPPED tests (the same on main and with this PR)
  • RTX 5070:
    • no wave64:
      • gpu::recomp::lower::tests: a_2d_or_3d_group_agrees_with_the_hlsl_path_on_the_gpu, coalesced_guarded_runs_agree_with_the_hlsl_path_on_the_gpu, cross_lane_reads_agree_with_the_hlsl_path_on_the_gpu, the_wave64_lowering_agrees_with_the_hlsl_path_on_the_gpu
      • gpu::recomp::lower_dxil::tests::a_per_lane_2d_or_3d_group_runs_on_the_gpu, and the wave64 cases of its f16 / f32 / f64 / integer_programs_on_the_gpu
      • gpu_geometry_wave32_prefix_count_over_a_mask, gpu_wave32_program_in_wave64_hardware
    • the wave32 per-lane cases of lower_dxil's f16 arithmetic, f16 packed and f32 conversions: refused ("its #1426 semantics differ from the console's")
    • heap_window_out_of_memory_falls_back_to_the_switch_form (no heap windows)
    • pso_measurement_compiles_an_exact_synthetic_record (Windows Developer Mode is off)
  • Radeon iGPU:
    • no mesh shaders: gpu::dxil::geometry_tests::gpu_geometry_direct_records, emitted_ms_primitive_attribute_reaches_the_pixel_shader, emitted_ms_ps_draw_a_triangle, gpu_geometry_mode_es_gs_strip, gpu_geometry_mode_es_gs_strip_with_branches, gpu_mesh_mode_two_passes
    • the wave32 and wave64 per-lane cases of lower_dxil's f16 arithmetic, f16 packed and f32 conversions: refused, as above
    • heap_window_out_of_memory_falls_back_to_the_switch_form (no heap windows)
    • pso_measurement_compiles_an_exact_synthetic_record (Developer Mode is off)

Not tested

  • a title run; other GPUs; Linux / Wine.

AI use

  • Claude Code (Claude Opus 5.5) ran the builds and tests and wrote this report.
**@⁠thaqiart139-alt** on GitHub · 2026-11-24 22:48 UTC · [original](https://github.com/xcl-dev/xcl/pull/645#issuecomment-7146676450) Test report for this PR's head `aee6962`, merged into `main` `689f2db` (no conflicts), on AMD RDNA2 with native 64-lane waves and on a 32-lane NVIDIA card. **Tested** - GPUs: AMD Radeon(TM) Graphics, the RDNA2 iGPU of a Ryzen 7 7800X3D (native wave64, driver 32.0.21045.29003), and NVIDIA GeForce RTX 5070 (driver 32.0.16.2101), chosen with `XCL_ADAPTER`. - System: 32 GB, Windows 11 Home build 26300, Rust 1.100.0, debug, DXC 1.9.2602.17. - `cargo test --workspace --no-fail-fast -- --test-threads=4`: | | `main` `689f2db` | with this PR | |---|---|---| | RTX 5070 | 971 passed, 4 failed, 45 ignored | 971 passed, 4 failed, 45 ignored | | Radeon iGPU | 974 passed, 1 failed, 45 ignored | 974 passed, 1 failed, 45 ignored | - This PR adds no failure. The failures are the same on `main`, from #1679's new fuzz tests, and both are already reported on #1679: - RTX 5070: `fuzz_validate_and_gpu_0` to `_3` (`CreateComputePipelineState`: `0x8007000E`) - iGPU: `fuzz_validate_and_gpu_1` (`seed 540: res[833] = 0x7, CPU 0x6`) - The change only shows with `XCL_ASYNC_PSO=0`, so I also ran `cargo test -p xcl --test gpu_compute_e2e -- --test-threads=1` with it set, on both GPUs. On `main`, `async_compute_pso_registers_real_pso_and_not_standin` returns with no `SKIPPED` line. With this PR it prints `SKIPPED async_compute_pso_registers_real_pso_and_not_standin: async PSO disabled by XCL_ASYNC_PSO=0`. 4 passed, 0 failed on both GPUs, with and without the PR. - Without `XCL_ASYNC_PSO`, the counts are the same as on `main`. <details><summary>SKIPPED tests (the same on <code>main</code> and with this PR)</summary> - **RTX 5070:** - no wave64: - `gpu::recomp::lower::tests`: `a_2d_or_3d_group_agrees_with_the_hlsl_path_on_the_gpu`, `coalesced_guarded_runs_agree_with_the_hlsl_path_on_the_gpu`, `cross_lane_reads_agree_with_the_hlsl_path_on_the_gpu`, `the_wave64_lowering_agrees_with_the_hlsl_path_on_the_gpu` - `gpu::recomp::lower_dxil::tests::a_per_lane_2d_or_3d_group_runs_on_the_gpu`, and the wave64 cases of its `f16` / `f32` / `f64` / `integer_programs_on_the_gpu` - `gpu_geometry_wave32_prefix_count_over_a_mask`, `gpu_wave32_program_in_wave64_hardware` - the wave32 per-lane cases of `lower_dxil`'s f16 arithmetic, f16 packed and f32 conversions: refused ("its #1426 semantics differ from the console's") - `heap_window_out_of_memory_falls_back_to_the_switch_form` (no heap windows) - `pso_measurement_compiles_an_exact_synthetic_record` (Windows Developer Mode is off) - **Radeon iGPU:** - no mesh shaders: `gpu::dxil::geometry_tests::gpu_geometry_direct_records`, `emitted_ms_primitive_attribute_reaches_the_pixel_shader`, `emitted_ms_ps_draw_a_triangle`, `gpu_geometry_mode_es_gs_strip`, `gpu_geometry_mode_es_gs_strip_with_branches`, `gpu_mesh_mode_two_passes` - the wave32 and wave64 per-lane cases of `lower_dxil`'s f16 arithmetic, f16 packed and f32 conversions: refused, as above - `heap_window_out_of_memory_falls_back_to_the_switch_form` (no heap windows) - `pso_measurement_compiles_an_exact_synthetic_record` (Developer Mode is off) </details> **Not tested** - a title run; other GPUs; Linux / Wine. **AI use** - Claude Code (Claude Opus 5.5) ran the builds and tests and wrote this report.
Author
Owner

@⁠Alpha325 on GitHub · 2026-11-25 02:34 UTC · original

I tested the exact PR head aee6962bc639674aec04e9b8855a47e100f36939 and its parent 18c105af86929d6ae26c44096c85b66f1644e743 on Windows 11 Home 26200.9974, Ryzen 5 7600X3D, and Radeon RX 9060 XT 16 GB (driver 32.0.32029.2010). Debug build with Rust 1.100.0 x86_64-pc-windows-msvc and DXC 1.9.2602.17 from Windows SDK 10.0.26100.0.

Command

cargo test --offline --locked -j 4 -p xcl --test gpu_compute_e2e -- --test-threads=1

I set XCL_ADAPTER="Radeon RX 9060 XT" and left XCL_SAMPLE_* unset. Each row was run separately on both commits. “Default” means XCL_ASYNC_PSO was unset.

Async PSOs XCL_REQUIRE_GPU Parent PR
0 Unset Exit 0, 2 passed, no skip marker Exit 0, 2 counted as passed, 1 explicit skip
0 wave64 Exit 0, 2 passed, no skip marker Exit 101, 1 passed, 1 failed
Default Unset Exit 0, 2 passed, 0 skips Exit 0, 2 passed, 0 skips
Default wave64 Exit 0, 2 passed, 0 skips Exit 0, 2 passed, 0 skips

With async PSOs disabled and strict mode unset, the PR emitted SKIPPED async_compute_pso_registers_real_pso_and_not_standin: async PSO disabled by XCL_ASYNC_PSO=0 without --nocapture. Libtest still counts that early return as a pass, so the skip marker is what distinguishes it in the output.

With strict mode set to wave64, the same test failed with async PSO disabled by XCL_ASYNC_PSO=0, but XCL_REQUIRE_GPU=wave64. The Wave64 dispatch and readback test still passed. With async PSOs enabled, the logs confirmed the real Radeon backend and background compute PSO creation, and both tests passed.

Scope — Synthetic compute shaders only. This was a focused integration run.

AI use — OpenAI Codex (GPT-6) ran the comparison, checked the logs, and drafted this report.

**@⁠Alpha325** on GitHub · 2026-11-25 02:34 UTC · [original](https://github.com/xcl-dev/xcl/pull/645#issuecomment-7150898349) I tested the exact PR head `aee6962bc639674aec04e9b8855a47e100f36939` and its parent `18c105af86929d6ae26c44096c85b66f1644e743` on Windows 11 Home 26200.9974, Ryzen 5 7600X3D, and Radeon RX 9060 XT 16 GB (driver 32.0.32029.2010). Debug build with Rust 1.100.0 x86_64-pc-windows-msvc and DXC 1.9.2602.17 from Windows SDK 10.0.26100.0. **Command** `cargo test --offline --locked -j 4 -p xcl --test gpu_compute_e2e -- --test-threads=1` I set `XCL_ADAPTER="Radeon RX 9060 XT"` and left `XCL_SAMPLE_*` unset. Each row was run separately on both commits. “Default” means `XCL_ASYNC_PSO` was unset. | Async PSOs | `XCL_REQUIRE_GPU` | Parent | PR | |---|---|---|---| | `0` | Unset | Exit 0, 2 passed, no skip marker | Exit 0, 2 counted as passed, 1 explicit skip | | `0` | `wave64` | Exit 0, 2 passed, no skip marker | Exit 101, 1 passed, 1 failed | | Default | Unset | Exit 0, 2 passed, 0 skips | Exit 0, 2 passed, 0 skips | | Default | `wave64` | Exit 0, 2 passed, 0 skips | Exit 0, 2 passed, 0 skips | With async PSOs disabled and strict mode unset, the PR emitted `SKIPPED async_compute_pso_registers_real_pso_and_not_standin: async PSO disabled by XCL_ASYNC_PSO=0` without `--nocapture`. Libtest still counts that early return as a pass, so the skip marker is what distinguishes it in the output. With strict mode set to `wave64`, the same test failed with `async PSO disabled by XCL_ASYNC_PSO=0, but XCL_REQUIRE_GPU=wave64`. The Wave64 dispatch and readback test still passed. With async PSOs enabled, the logs confirmed the real Radeon backend and background compute PSO creation, and both tests passed. **Scope** — Synthetic compute shaders only. This was a focused integration run. **AI use** — OpenAI Codex (GPT-6) ran the comparison, checked the logs, and drafted this report.
Author
Owner

@⁠JJAutoCompare on GitHub · 2026-11-25 06:30 UTC · original

Empirical test report (aee6962b)

Hardware / environment

  • Commit aee6962bc639674aec04e9b8855a47e100f36939 in a clean, detached worktree.
  • Windows 11 Enterprise Evaluation, build 10.0.26200, on an AMD Ryzen 7 3800X. D3D12 selected Intel Arc A770 Graphics, driver 32.0.101.9175.
  • Rust 1.100.0 (0ef1bc386, x86_64-pc-windows-msvc), unoptimized test profile. DXC and DXIL 1.9.2609.5.

Commands and results

  • cargo test --workspace --no-run ran outside the Arc lock and exited 0. This compiled the workspace test binaries.
  • powershell -ExecutionPolicy Bypass -File $harness -Binary $binary exited 0. The harness ran Invoke-ArcTest.ps1 with XCL_ADAPTER=A770 and RUST_TEST_NOCAPTURE=1. Under the lock it ran the same command in two fresh processes. $binary denotes the Cargo-built gpu_compute_e2e executable.
& $binary --exact async_compute_pso_registers_real_pso_and_not_standin --format terse
  • XCL_ASYNC_PSO unset (default), exit 0. 1 passed / 0 failed / 0 ignored / 0 skipped.
  • XCL_ASYNC_PSO=0, exit 0. 1 passed / 0 failed / 0 ignored / 1 skipped.

Observed behavior

The default run built a translated compute pipeline in the background and passed the assertions for registration of the real PSO, exclusion of the stand-in, and cleanup. The disabled run reached the explicit skip after initializing the real D3D12 backend. Libtest counted the early return as a pass. It contributed no async PSO coverage. The log recorded the following skip line.

SKIPPED async_compute_pso_registers_real_pso_and_not_standin: async PSO disabled by XCL_ASYNC_PSO=0

Not tested

The full GPU workspace suite and game smoke runs were omitted.

AI use

Verified with T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high). Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against pr645-focused.log and published.

**@⁠JJAutoCompare** on GitHub · 2026-11-25 06:30 UTC · [original](https://github.com/xcl-dev/xcl/pull/645#issuecomment-7154858484) ### Empirical test report (aee6962b) **Hardware / environment** - Commit `aee6962bc639674aec04e9b8855a47e100f36939` in a clean, detached worktree. - Windows 11 Enterprise Evaluation, build `10.0.26200`, on an AMD Ryzen 7 3800X. D3D12 selected Intel Arc A770 Graphics, driver `32.0.101.9175`. - Rust `1.100.0` (`0ef1bc386`, `x86_64-pc-windows-msvc`), unoptimized test profile. DXC and DXIL `1.9.2609.5`. **Commands and results** - `cargo test --workspace --no-run` ran outside the Arc lock and exited 0. This compiled the workspace test binaries. - `powershell -ExecutionPolicy Bypass -File $harness -Binary $binary` exited 0. The harness ran `Invoke-ArcTest.ps1` with `XCL_ADAPTER=A770` and `RUST_TEST_NOCAPTURE=1`. Under the lock it ran the same command in two fresh processes. `$binary` denotes the Cargo-built `gpu_compute_e2e` executable. ```powershell & $binary --exact async_compute_pso_registers_real_pso_and_not_standin --format terse ``` - `XCL_ASYNC_PSO` unset (default), exit 0. 1 passed / 0 failed / 0 ignored / 0 skipped. - `XCL_ASYNC_PSO=0`, exit 0. 1 passed / 0 failed / 0 ignored / 1 skipped. **Observed behavior** The default run built a translated compute pipeline in the background and passed the assertions for registration of the real PSO, exclusion of the stand-in, and cleanup. The disabled run reached the explicit skip after initializing the real D3D12 backend. Libtest counted the early return as a pass. It contributed no async PSO coverage. The log recorded the following skip line. ```text SKIPPED async_compute_pso_registers_real_pso_and_not_standin: async PSO disabled by XCL_ASYNC_PSO=0 ``` **Not tested** The full GPU workspace suite and game smoke runs were omitted. **AI use** Verified with T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high). Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against pr645-focused.log and published.
Author
Owner

@⁠DavidM1911 on GitHub · 2026-11-25 12:31 UTC · original

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

  • cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)

Thanks!

**@⁠DavidM1911** on GitHub · 2026-11-25 12:31 UTC · [original](https://github.com/xcl-dev/xcl/pull/645#issuecomment-7162493433) Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.) Thanks!
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/645/head:github-bot/gh-645'
git switch 'github-bot/gh-645'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-645'
git switch 'github-bot/gh-645'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-645'
git switch 'github-bot/gh-645'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-645'
git switch 'main'
git merge --squash 'github-bot/gh-645'
git switch 'main'
git merge --ff-only 'github-bot/gh-645'
git switch 'main'
git merge 'github-bot/gh-645'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.