Skip to content

Tests: report skipped GPU comparisons in DXIL fuzzing - #2875

Draft
andrewDoing wants to merge 1 commit into
xcl-dev:mainfrom
andrewDoing:tests/report-skipped-dxil-fuzz
Draft

andrewDoing wants to merge 1 commit into
xcl-dev:mainfrom
andrewDoing:tests/report-skipped-dxil-fuzz

Conversation

@andrewDoing

@andrewDoing andrewDoing commented Nov 26, 2026 •

Copy link
Copy Markdown

DXIL fuzz batches can validate all seeds and pass while making zero GPU comparisons on an adapter without wave32 support. Report the missing GPU coverage through the existing skip mechanism, including its strict GPU-required behavior.

What is in it

  • crates/xcl/src/gpu/dxil/fuzz_tests.rs: preserve CPU validation and report an unavailable GPU or wave32 support after each fuzz batch. This changes test code only.

Tested

  • NVIDIA RTX 5070, driver 616.92; Ryzen 7 5700X3D; Windows build 26300.10075; Rust 1.100.0 MSVC, debug; SDK DXC/DXIL 1.8.2502.11.
  • cargo test --workspace --no-fail-fast -- --test-threads=4, with a writable workspace DXIL cache: 1,441 passed, 5 failed, 47 ignored. The failures also occurred on clean main 8b957bec: four DXIL fuzz shards at seeds 70, 545, 1019, 1507 (CreateComputePipelineState 0x8007000E, DXIL GPU fuzz tests reproducibly fail with E_OUTOFMEMORY on RTX 5060 #1905) and test_title_runs_under_the_debug_layer_with_dred (access violation). The latter passed 4/4 when the unchanged patch from D3D12.X: release the interface returned by QueryInterface #1156 was applied separately to main; the precise cause is unconfirmed.
  • 26 SKIPPED events: 21 no wave64, three unsupported per-lane forms, one unavailable driver-cache option, and one unavailable heap-windows feature. Multiple events can belong to the same test.
  • WARP, four fuzz batches: 4 passed, 0 failed, 0 ignored; 2,000 seeds validated, 0 GPU compared, and four explicit no wave32 skips. Before the change, one 500-seed batch passed without reporting a skip. With XCL_REQUIRE_GPU=mesh, the same WARP batch now fails as expected after validating the seeds, rather than passing with no comparisons.

Regression run

  • Not run: this test-only file is exempted from the retail smoke check by scripts/pr_check.py.

Not tested

AI use

  • OpenAI Codex with GPT-6.2 Astra identified the missing skip, wrote the change, and ran the tests. A second GPT-6.2 Astra agent reviewed the diff; Codex coordinated and prepared the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants