Tests: report disabled async compute PSO as skipped #645
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!645
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-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?
@juliptree on GitHub · 2026-11-24 02:49 UTC · original
juliptree:codex/async-pso-skip→main· +1 −1 · 1 files · 1 commits · openWith
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
@MesshM on GitHub · 2026-11-24 03:24 UTC · original
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.
@thaqiart139-alt on GitHub · 2026-11-24 22:48 UTC · original
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
@Alpha325 on GitHub · 2026-11-25 02:34 UTC · original
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.
@JJAutoCompare on GitHub · 2026-11-25 06:30 UTC · original
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.
@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!
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.