Tests: offline compute pipeline test finds the driver blob with XCL_D… #1674
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!1674
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1674"
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?
@IgorAntunes66 on GitHub · 2026-11-24 19:10 UTC · original
IgorAntunes66:lab/test-offline-pso-direct-dxil→main· +12 −5 · 1 files · 1 commits · openoffline_compute_pipeline_is_reused_by_a_second_processfails wheneverXCL_DIRECT_DXILis set (=1or=all): it takes the driver blob's name from a*.dxilfile at the cache root, which only the HLSL + DXC path writes. The direct translator keeps its DXIL undertranslated/(#1426), so thefind(...).unwrap()atgpu_compute_e2e.rs:114panics before anything GPU-related is checked.Related: #1469 and #1363 also edit this test (rename / runtime step, GPU-backend skip) but not the
*.dxillookup; whichever lands second will need a small rebase.What is in it
*.psoincache/driver(and asserts there is exactly one).*.dxilexists (HLSL path), it still checks that the blob's name matches the DXIL's hash and size.crates/xcl/tests/gpu_compute_e2e.rs.Tested
c160d86cargo test -p xcl --test gpu_compute_e2e, 3 runs per mode:XCL_DIRECT_DXIL=1XCL_DIRECT_DXIL=allcargo test --workspace --no-fail-fast -- --test-threads=4atc160d86withXCL_DIRECT_DXIL=all(before the fix): 857 passed, 1 failed (this test), 42 ignored (SKIPPED GPU tests: 2 no wave64, 1 no heap windows).Regression run
Not needed: test-only change.
Not tested
scripts\test.ps1on this PR's head commit (only this test file changes).AI use
@DavidM1911 on GitHub · 2026-11-24 21:37 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~22 ignored. (Intermittent single-test flake under parallel scheduling; clean on single-threaded rerun — same flake seen on unmodifiedmain.)Thanks!
@PHeitor1 on GitHub · 2026-11-24 22:26 UTC · original
Tested
8742034merged ontomain689f2db(clean) on Blackwell: the test fails onmainwith the direct translator and passes with this PR.Tested
cargo test -p xcl --test gpu_compute_e2e, 5 runs per cell, the two trees alternating:XCL_DIRECT_DXILmain689f2db1alloffline_compute_pipeline_is_reused_by_a_second_process.cargo test --workspace --no-fail-fast -- --test-threads=4with the PR,XCL_DIRECT_DXILunset and1: 971 passed, 4 failed, 45 ignored, both times. The 4 aregpu::dxil::fuzz_tests::fuzz_validate_and_gpu_0to_3(CreateComputePipelineState0x8007000E). They fail the same way on plain689f2dband came in with #1679, so they are not from this PR. SKIPPED: theno wave64cases, threeper-lane form: refusedcases,no heap windows, and the Developer Mode one.Not tested: AMD / Intel, release.
Run and written with Claude Code (Claude Opus 5.5).
@cindertheblue on GitHub · 2026-11-24 23:44 UTC · original
Tested
8742034merged ontomain689f2db(clean merge, onlycrates/xcl/tests/gpu_compute_e2e.rschanges) on AMD, which the description lists as not tested: the test fails onmainwith the direct translator and passes with this PR, in every run.Tested
cargo build --workspacein its own folder.cargo test -p xcl --test gpu_compute_e2e -- --nocapture, 3 runs per cell, the two trees alternating:XCL_DIRECT_DXILmain689f2db1offline_compute_pipeline_is_reused_by_a_second_process)allSKIPPEDin this file:heap_window_out_of_memory_falls_back_to_the_switch_form(no heap windows), in every run on both trees.cargo test --workspace --no-fail-fast -- --test-threads=4on the merged tree: 974 passed, 1 failed, 45 ignored, both unset and withXCL_DIRECT_DXIL=1(onmain689f2dbwith=1: 973 passed, 2 failed). The one failure left isgpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1, the AMD seed 722 mismatch from #1679, which this PR doesn't touch.Not tested
scripts\test.ps1itself (the same commands, run directly).8742034without the merge onto689f2db.AI use
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.