Repository navigation
Tests: the stand-in race test keeps the let-go pipeline on its thread - #3474
Conversation
concurrent_shell_miss_reuses_winner_and_releases_loser_pipeline (xcl-dev#2369) expected the winner's driver pipeline to be released with the last shell. On main the last shell lets it go through late_release (it is held until the queues are past the lists that may bind it), so the test found one reference left and failed on every run. The test now keeps what let_go is given on its thread, as the other stand-in tests do, checks that it is the winner's pipeline, and releases it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
merge-check
|
Tier 0 (test-only diff): no retail run. A second card for @tiagonleal's check above; the failure on plain |
|
merge-check |
hle::d3d12x::standin::tests::concurrent_shell_miss_reuses_winner_and_releases_loser_pipeline(from #2369, merged) fails on every run on main53e85fb1: 15 of 15 runs, also run alone (left: (0, 1, 1),right: (0, 0, 1)). The test expects the winner's driver pipeline to be released with the last shell. On main the last shell lets it go throughlate_release::hold_pipeline, which holds it until the queues are past the lists that may bind it. So one reference is still there when the test checks. The runtime is right; the test is not.The test now keeps what
let_gois given on its thread (LET_GO, asset_private_data_validation_and_per_shell_set_namedoes), checks that it is the winner's pipeline, and releases it. Test-only: only the test changes.What is in it
crates/xcl/src/hle/d3d12x/standin.rs: the test aboveTested
cargo test -p xcl --lib standin::tests: 7 passed, 0 failed, 5 runs in a row. Before the change, the test failed on 15 of 15 runs.cargo test --workspace --no-fail-fast -- --test-threads=4on 5454468: 2793 passed, 0 failed, 49 ignored. SKIPPED GPU tests: 45 distinct notices, almost allno wave64.Regression run
main:
this PR:
Not tested
AI use
🤖 Generated with Claude Code