Tests: use the wave64 skip reason for per-lane DXIL #1903
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!1903
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1903"
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?
@gabrielsteglich on GitHub · 2026-11-24 22:52 UTC · original
gabrielsteglich:test/dxil-wave64-skip-reason→main· +1 −1 · 1 files · 1 commits · openThe per-lane DXIL tests format the missing-wave64 reason with the subcase name. The GPU test runner accepts the exact reason
no wave64when only mesh coverage is required. Part of #1651 (report, claim).What is in it
crates/xcl/src/gpu/recomp/lower_dxil.rs, use the sameno wave64skip reason as the other GPU tests. The change is inside#[cfg(test)]. Please applytest-onlyto review this revision under the test-only description check.Tested
689f2db477c3c062cf162649781640ef8a977c18and head13f5a7be9d1e2d8832733d104773b49a5fac239b. Built the library test binary withcargo test --offline --locked -p xcl --lib --no-run, then ran each ofgpu::recomp::lower_dxil::tests::{integer,f64,f16,f32}_programs_on_the_gpuwith--exact --nocapture.XCL_REQUIRE_GPUmeshV_MUL_F16.V_CVT_F16_F32refusal. f16 still stops atV_MUL_F16.wave64V_MUL_F16.V_MUL_F16.cargo build --offline --locked --workspacepassed andcargo test --offline --locked --workspace --no-fail-fast -- --test-threads=4 --show-outputreported 975 passed, 0 failed, 45 ignored.a_2d_or_3d_group_agrees_with_the_hlsl_path_on_the_gpu,cross_lane_reads_agree_with_the_hlsl_path_on_the_gpu,coalesced_guarded_runs_agree_with_the_hlsl_path_on_the_gpu,the_wave64_lowering_agrees_with_the_hlsl_path_on_the_gpu,a_per_lane_2d_or_3d_group_runs_on_the_gpu,f32_programs_on_the_gpu,f16_programs_on_the_gpu,integer_programs_on_the_gpu,f64_programs_on_the_gpu,gpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardware. Wave32 refusals wereV_MUL_F16,V_PK_MUL_F16andV_CVT_F16_F32in the f16/f32 tests. The other skips weretest_title_draws_with_a_root_signature_under_the_debug_layer,uploads_start_from_each_subresources_state(both require the debug layer) andheap_window_out_of_memory_falls_back_to_the_switch_form(heap windows off).Not tested
The RTX 3090 tests above did not cover native wave64 hardware or other GPUs. The retail smoke below was run independently. This PR changes only the test's skip reason. The existing per-lane instruction refusals are outside this change.
Regression run
Toons29's independent regression run used Windows 11 build 26300, Radeon RX 9070 driver 32.0.32029.2010, Rust 1.100.0, and
XCL_NETWORK=0. The twoscripts/smoke.ps1blocks below are their recorded results.AI use
OpenAI's coding agent (GPT-6) wrote the patch, ran the tests, and prepared this description.
@futurepro62 on GitHub · 2026-11-25 00:17 UTC · original
Tested exact head
13f5a7b(on its base689f2db) with the fourlower_dxilGPU tests from my #1651 follow-up left in. This fixes two of them. The other two still fail underXCL_REQUIRE_GPU=meshon a GPU without wave64, from a secondskip_testcall in the same function.Tested
XCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4 --skip heap_window_out_of_memory_falls_back_to_the_switch_form --skip gpu::dxil::fuzz_tests: 919 passed, 2 failed, 23 ignored.integer_programs_on_the_gpuandf64_programs_on_the_gpunow pass. They failed on main689f2dband62265d3.f16_programs_on_the_gpufails:f16 arithmetic, wave32, per-lane form: refused (unsupported V_MUL_F16 (its #1426 semantics differ from the console's)), but XCL_REQUIRE_GPU=meshf32_programs_on_the_gpufails:f32 conversions, wave32, per-lane form: refused (unsupported V_CVT_F16_F32 (its #1426 semantics differ from the console's)), but XCL_REQUIRE_GPU=meshXCL_ADAPTER=radeon, noXCL_REQUIRE_GPU),cargo test --workspace -- --test-threads=4 --skip gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1: 974 passed, 0 failed, 45 ignored. All fourlower_dxilGPU tests pass there. The same per-lane refusals show as SKIPPED on wave32 and wave64 alike (V_MUL_F16, V_PK_MUL_F16, V_CVT_F16_F32). (fuzz_validate_and_gpu_1fails on seed 540 on main too.)Both remaining failures come from
lower_dxil.rs:604at this head,runner::skip_test(&format!("{name}, wave{lanes}, per-lane form: refused ({e})")). Undermesh,runner::skip_testpasses only the exact reasonno wave64, so any other reason is a failure. These skips are not about missing wave64: the per-lane form refuses V_MUL_F16 and V_CVT_F16_F32 on wave32 and on the AMD card's wave64 alike. So this needs a call on whether the per-lane refusal should count as a skip undermesh(for example a fixed reason thatskip_testallows) or should stay a failure. It is a different case from the wave64 one this PR fixes.Not tested
w64branch is not taken), a release build.AI use
@DavidM1911 on GitHub · 2026-11-25 02:15 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!
@JJAutoCompare on GitHub · 2026-11-25 03:20 UTC · original
Tested
On Intel Arc A770 at clean PR head
13f5a7be9d1e2d8832733d104773b49a5fac239b,meshpassed with two native-wave64 subcase skips.wave64intentionally failed at the first missing native-wave64 subcase. The PR was open at the exact SHA before and after the runs. No matching Arc report appeared in the PR discussion or the GPU reports issue. PR #1903 · GPU reports issueWindows 11 Enterprise Evaluation build 26200.9974, AMD Ryzen 7 3800X, Intel Arc A770 driver 32.0.101.9175, Rust 1.100.0 MSVC, DXC and DXIL 1.9.2609.5 confirmed in both test logs.
The prebuild ran outside the Arc lock and exited 0. Each test command ran in its own process with
crates/xclas its working directory, under the sharedL:/XclTooling/Invoke-ArcTest.ps1lock. The lock script used process-scopedRemoteSigned. The two launcher command files and raw logs are alongside this report.meshwave64meshran both native-wave32 programs (integer arithmetic and carries). Their HLSL results passed the expected-register checks and their per-lane DXIL results matched the HLSL readback. Libtest finished in 0.30 s. This exact line appeared twice:wave64completed native-wave32 integer arithmetic and then panicked at the first native-wave64 capability check before reaching carries. Libtest finished in 0.25 s and exited 101. The panic atcrates/xcl/src/gpu/recomp/runner.rs:620:9occurred before the skip logger:The
meshlauncher released the lock and exited 1 after PowerShell failed to retrieve the completed process's exit status. Its captured libtest output records the pass and both skips. The nativemeshexit code was unrecorded.Not tested
Native-wave64 GPU execution, mesh-shader dispatch, floating-point and fuzz tests, the full suite, retail smoke, and the base commit.
AI use
T3 Code / Codex (gpt-6.2-sol) ran the test and wrote this report.
@Toons29 on GitHub · 2026-11-25 13:10 UTC · original
Regression run of
13f5a7beon the retail title, for this PR's Regression run section. Both blocks are fromscripts/smoke.ps1as printed, not edited:mainon1a0bbe3a, this PR on its head commit with no uncommitted changes, same title and time.Against the limits in CONTRIBUTING.md: 100 % of
main's frames, 102 % of its peak commit, no crash, no device removal.AMD Radeon RX 9070 (RDNA4, driver 32.0.32029.2010), Ryzen 7 7800X3D, 32 GB, Windows 11 build 26300, Rust 1.100.0,
cargo build --release -p xcl, 60 s,XCL_NETWORK=0. This is a regression check only: it does not show whether the run reaches the code this PR changes.AI use: Claude Code (Claude Opus 5.5) built both trees and ran
scripts/smoke.ps1; a script posted this right after the run, with both blocks exactly as printed.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.