Tests: verify each split worker PSO by its translated DXIL key #3219
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3219"
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 andrewDoing on 2026-11-28T21:11:27Z.
The preparation-worker test from #3213 could pass after losing a split piece. A whole shader built with the chain root also ends in
.chain.pso, and an omitted build reduces both the worker's reported total and the number of files. Matched failure control.This test describes main’s current startup policy. #3442 changes that policy intentionally. I applied this diff on top of
f1574257and confirmed that its exact artifact assertion fails because the new worker saves only the ABI whole. The companion test for #3442 keeps exact-key coverage and exercises a warm GPU dispatch. Compatibility check and companion commitWhat is in it
crates/xcl/tests/gpu_compute_e2e.rschanges.Tested
Rebased onto main
bc2cbb72. On updated head00ea0086, the focuseda_preparation_worker_also_builds_a_split_programs_whole_formintegration test passed on RTX 5070 with zero skips. The full workspace counts below are from the previous matched run.Ryzen 7 5700X3D, NVIDIA RTX 5070 12 GB / 616.92, Windows 11 build 26300.10075, Rust 1.100.0 MSVC, DXC 1.8.2502.11, debug profile.
cargo test -p xcl --test gpu_compute_e2e a_preparation_worker_also_builds_a_split_programs_whole_form -- --exact --nocapture: 1 passed, 0 skips. The stock worker produced four distinct piece keys and the two whole-program keys.With a local test mutation that omits the first piece from the worker build loop, the old assertion passed and the new assertion failed. The failure named the missing file
a763cc36a950bff2-a8c-0.chain.pso. The submitted branch uses the stock worker.cargo build --workspace --locked --offlinepassed.cargo test --workspace --locked --offline --no-fail-fast -- --test-threads=4onc13479ce: 2,590 passed, 4 failed, 49 ignored. The four failures were NVIDIA DXIL fuzz batches 0–3 (#1905). The log reported 27 skips (21 wave64, three unsupported per-lane translations, two heap-window checks and one unavailable driver-cache option).A separate clean-base run on
beeb81behad the same 2,590 passes, the same four named failures, 49 ignored tests and 27 reported skips. Each run used an isolated build directory and writable DXIL cache.The hosted Windows CI run passed at
00ea0086. The previous PR run and exact-base run both hit the pipeline-library shared-counter flake before reaching the integration target. The synchronization fix #3221 is now on main.Regression run
Integration-test assertions only. No runtime or retail title run.
Not tested
AMD, Intel, Wine, and retail startup or performance.
AI use
OpenAI Codex investigated the false positive, implemented the test change, ran the controls and prepared the PR. GPT-6.2 Sol refreshed the branch, ran the RTX 5070 check, and updated this report.
Imported from ivall/xcl. Originally posted by throny on 2026-11-30T20:18:59Z.
Closing: #3442 (
30122062) changed the startup policy this test checks, as you noted;main'sa_preparation_worker_keeps_a_split_programs_abi_wholechecks the exact DXIL keys now. Checked against currentmain(ff0c364b), hunk by hunk. If something here is still missing onmain, say so and reopen it, or ask and I will.AI use: Claude Code (Claude Opus 5.5) checked this; part of the duplicate sweep on #3041.
Pull request closed