Tests: report disabled async compute PSO as skipped #640
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/645"
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?
Imported from ivall/xcl. Originally posted by juliptree on 2026-11-24T02:49:35Z.
With
XCL_ASYNC_PSO=0, the async compute PSO test returned before exercising the pipeline. Its message bypassed the shared skip helper, soXCL_REQUIRE_GPU=wave64still reported a pass.What is in it
runner::skip_testbefore returning when async PSOs are disabled.Tested
cb868b20exited 0. Patchedaee6962failed as expected with exit 101. With strict mode cleared, the patched test loggedSKIPPEDand exited 0.gpu_compute_e2epassed both tests on the RTX 5060 Ti with no skips.cargo build --workspace --lockedpassed.cargo test --workspace --locked -- --test-threads=4reported 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_maskandgpu_wave32_program_in_wave64_hardware.Regression run
Not tested
AI use
Imported from ivall/xcl. Originally posted by MesshM on 2026-11-24T03:24:54Z.
Test run of
aee6962bc639674aec04e9b8855a47e100f36939on AMD RDNA4. I merged it onto currentmain91f9a5elocally (clean merge) and tested that tree.Tested
stable-x86_64-pc-windows-msvc, debugcargo build --workspace+cargo test --workspace -- --test-threads=4on the merge: 692 passed, 0 failed, 41 ignored, exit code 0;xcllib tests 652 passed, 0 failed, 21 ignoredSKIPPED; all tests pass with the default settings (async PSOs on, so the changed path did not run).Review:
skip_testis the shared helper, soXCL_REQUIRE_GPUnow 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 ontomain.Run and review by Claude Code (Claude Opus 5.5) on this machine; the review points were checked against the code.
mainreaches on Windows; the obstacle is replaced vtables — proposal: proxies #172mainreaches on Windows; the obstacle is replaced vtables — proposal: proxies #172mainreaches on Windows; the obstacle is replaced vtables — proposal: proxies #172mainreaches on Windows; the obstacle is replaced vtables — proposal: proxies #172upstream-sync referenced this pull request2026-11-24 21:07:42 +00:00
title_memory_budget_mbis 13,824 MB regardless of the adapter's memory #1327Imported from ivall/xcl. Originally posted by thaqiart139-alt on 2026-11-24T22:48:56Z.
Test report for this PR's head
aee6962, merged intomain689f2db(no conflicts), on AMD RDNA2 with native 64-lane waves and on a 32-lane NVIDIA card.Tested
XCL_ADAPTER.cargo test --workspace --no-fail-fast -- --test-threads=4:main689f2dbmain, from #1679's new fuzz tests, and both are already reported on #1679:fuzz_validate_and_gpu_0to_3(CreateComputePipelineState:0x8007000E)fuzz_validate_and_gpu_1(seed 540: res[833] = 0x7, CPU 0x6)XCL_ASYNC_PSO=0, so I also rancargo test -p xcl --test gpu_compute_e2e -- --test-threads=1with it set, on both GPUs. Onmain,async_compute_pso_registers_real_pso_and_not_standinreturns with noSKIPPEDline. With this PR it printsSKIPPED 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.XCL_ASYNC_PSO, the counts are the same as onmain.SKIPPED tests (the same on
mainand with this PR)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_gpugpu::recomp::lower_dxil::tests::a_per_lane_2d_or_3d_group_runs_on_the_gpu, and the wave64 cases of itsf16/f32/f64/integer_programs_on_the_gpugpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardwarelower_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)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_passeslower_dxil's f16 arithmetic, f16 packed and f32 conversions: refused, as aboveheap_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
AI use
Imported from ivall/xcl. Originally posted by Alpha325 on 2026-11-25T02:34:28Z.
I tested the exact PR head
aee6962bc639674aec04e9b8855a47e100f36939and its parent18c105af86929d6ae26c44096c85b66f1644e743on 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=1I set
XCL_ADAPTER="Radeon RX 9060 XT"and leftXCL_SAMPLE_*unset. Each row was run separately on both commits. “Default” meansXCL_ASYNC_PSOwas unset.XCL_REQUIRE_GPU00wave64wave64With 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=0without--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 withasync 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.
Imported from ivall/xcl. Originally posted by JJAutoCompare on 2026-11-25T06:30:18Z.
Empirical test report (
aee6962b)Hardware / environment
aee6962bc639674aec04e9b8855a47e100f36939in a clean, detached worktree.10.0.26200, on an AMD Ryzen 7 3800X. D3D12 selected Intel Arc A770 Graphics, driver32.0.101.9175.1.100.0(0ef1bc386,x86_64-pc-windows-msvc), unoptimized test profile. DXC and DXIL1.9.2609.5.Commands and results
cargo test --workspace --no-runran outside the Arc lock and exited 0. This compiled the workspace test binaries.powershell -ExecutionPolicy Bypass -File $harness -Binary $binaryexited 0. The harness ranInvoke-ArcTest.ps1withXCL_ADAPTER=A770andRUST_TEST_NOCAPTURE=1. Under the lock it ran the same command in two fresh processes.$binarydenotes the Cargo-builtgpu_compute_e2eexecutable.XCL_ASYNC_PSOunset (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.
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.
Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T12:31:36Z.
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!
upstream-sync referenced this pull request2026-11-25 23:09:05 +00:00
Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-29T07:42:40Z.
Nothing has happened on this PR for 3 days, so it is marked
staleand will be closed in 4 days. A push or a comment takes the mark off: rebase it ontomainif it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.Imported from ivall/xcl. Originally posted by BBareth on 2026-11-30T13:24:31Z.
merge-check claim
head:
aee6962bc6Imported from ivall/xcl. Originally posted by BBareth on 2026-11-30T13:36:26Z.
merge-check
base:
9dfbe3ea66head:
aee6962bc6merge: clean
build: cargo build --workspace -> ok
tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2885 passed, 1 failed, 51 ignored; failing: gpu::dxil::msaa_tests::gpu_direct_image_get_resinfo_d16, which fails on the base alone too (base: 2885 passed, 1 failed, 51 ignored, 28 SKIPPED lines). 28 SKIPPED lines, as on the base. The touched test
async_compute_pso_registers_real_pso_and_not_standinpassed (async PSOs are on here, so the changed branch was not taken).review: no blocking finding; one line in one test file. With
XCL_ASYNC_PSO=0the test returned after a plainprintln!; it now callsrunner::skip_test, so the run prints aSKIPPEDline like every other GPU test that does not run, as AGENTS.md asks. Not tested by me: the suite withXCL_ASYNC_PSO=0.performance: none.
verdict: safe to merge
hardware / tool and model: RTX 5070 Ti 16 GB, driver 621.24 (32.0.16.2124); i7-12700K; Windows 11 26200. Claude Code, Claude Fable 5.2 read the diff, ran the build and the suite and wrote this check.
Imported from ivall/xcl. Originally posted by tiagonleal on 2026-11-30T14:29:03Z.
merge-check
base:
9dfbe3ea66head:
aee6962bc6merge: clean, alone and together with #657 (
82131525, which touches another file,gpu/recomp/tests.rs): both heads merged onto the base in one tree (c4c23abe) without conflictsbuild: cargo build --workspace -> ok on the combined tree
tests: cargo test --workspace --no-fail-fast -j 8 -- --test-threads=4 on the combined tree of this head and #657's head on the base (one suite run for the two test-only PRs, not one per PR) -> 2886 passed, 1 failed, 51 ignored; SKIPPED: 24 lines, the same lines as on the base; failing:
gpu::dxil::msaa_tests::gpu_direct_image_get_resinfo_d16, which fails the same way on the base alone (2885 passed, 1 failed, 51 ignored; #3513 fixes it). Async PSOs are on by default, so the changed branch is not taken in that run and the count stays at 24. The condition, run here withcargo test -p xcl --test gpu_compute_e2e: withXCL_ASYNC_PSO=0the head printsSKIPPED async_compute_pso_registers_real_pso_and_not_standin: async PSO disabled by XCL_ASYNC_PSO=0, where the base line prints only "XCL_ASYNC_PSO=0 - skipping" and no SKIPPED line, so a full suite under that variable would show one more SKIPPED line (25 here). WithXCL_ASYNC_PSO=0 XCL_REQUIRE_GPU=wave64, the head fails that test (runner.rs:662) and the base line lets it pass; the same withXCL_REQUIRE_GPU=mesh. In those runsheap_window_out_of_memory_falls_back_to_the_switch_formalso fails under the strict setting on both sides, since heap windows are opt-in here; that is not this PR.review: one line read (
tests/gpu_compute_e2e.rs:621in the merged tree). It replaces aprintln!withrunner::skip_test, which writes theSKIPPED <test>: <reason>line to stderr and panics whenXCL_REQUIRE_GPUasks for the missing feature (runner.rs:651-664). The reason string is neither "no mesh shaders" nor "no wave64", so under either strict mode it fails, which is what the PR describes. A skipped test is still counted as passed bycargo test(it returns after the SKIPPED line, like every otherskip_testuser); with this PR that pass at least comes with the SKIPPED line, so nothing is counted as run without a marker that it did not run.performance: no smoke run: the PR changes only a test file, and nothing in the emulator binary.
verdict: safe to merge
hardware / tool and model: RTX 5070 Ti 16 GB (617.42, wave32), Ryzen 7 9800X3D, 32 GB, Windows 11 26300, rustc 1.100.0 / Claude Code (Claude Opus 5.5 ran the build, suite and tests, reviewed the diff against the merged source and wrote this)
Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T03:52:38Z.
Triage (#1607) – head
aee6962No open or merged PR makes this change. Main still prints
XCL_ASYNC_PSO=0 – skippingwithout callingrunner::skip_testinasync_compute_pso_registers_real_pso_and_not_standin.Note:
skip_testpanics underXCL_REQUIRE_GPU=wave64for any reason except "no mesh shaders". So with bothXCL_REQUIRE_GPU=wave64andXCL_ASYNC_PSO=0set, this test now fails where it used to pass silently. That is probably what a required-GPU run should do, but it is a change in behaviour.Recommendation: keep open.
AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.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.