Repository navigation
Conversation
The worker publishes immediate dwords one at a time. Wait for the last release store before reading the first word, and keep the atomic destination alive if the test times out. Assisted-by: Codex (GPT-6)
|
Full-suite run, since this PR has no test report yet. Tested exact head Tested
Not tested
AI use
|
|
Under Wine on Linux, with an Tested
Not tested
AI use
|
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
|
Regression run of Against the limits in CONTRIBUTING.md: 101 % of AMD Radeon RX 9070 (RDNA4, driver 32.0.32029.2010), Ryzen 7 7800X3D, 32 GB, Windows 11 build 26300, Rust 1.100.0, AI use: Claude Code (Claude Opus 5.5) built both trees and ran |
The deferred CPU-write test can observe the first dword before the worker stores the second. This is the intermittent failure reported in #546. The test now waits for the final store before reading both results.
What is in it
cpu_writes.rs's test module, wait for the last immediate dword with an acquire load, then check the first. Keep the atomic destination alive if the test times out while the worker is still queued.Tested
scripts/test.ps1withXCL_ADAPTER=3080andXCL_REQUIRE_GPU=meshon both base930e8b4and head5ec0cf4. Each run reported 751 passed, 0 failed, and 41 ignored. Two native-wave64 tests returned early and are included in the reported passes.5ec0cf4, 32 fresh libtest processes each passed bothcpu_writes::testscases with--test-threads=2.cb868b2held the second store briefly. The original polling order observed a zero second word in all three runs. Waiting for the final store passed all three runs with the same delay. The test in this PR uses the regular worker.Regression run
The diff is confined to one unit test in a runtime file and qualifies for maintainer review under the
test-onlylabel.Not tested
AI use