tests: retry a missing compute translation on the same live slot 67 pipeline #2708
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2716"
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 R0Y00/Xbox2Windows. Originally posted by RavenCurseBurg on 2026-11-26T03:19:22Z.
Refs #2274 (part B).
#2532 brought the direct Dispatch path and its manifest retry to main. This ports the previously measured live-pipeline fixture onto
546d881b. It holds one device and one slot 67 pipeline across two fenced Dispatch calls in the same process.The first readback must retain all 320 sentinel words. While the consumer waits, Python runs the real offline translator on its single request, waits for the retry interval and releases the same process. The second readback must match all 288 written words and 32 untouched words. A separate run leaves that request unpublished and requires two refusals and two entirely untouched readbacks.
Reproduce
Results at
5bc3211cI built the consumer,
d3d12_xs.dllandxg_xs.dllfrom this head on Windows 11 build 26100.9711 with Zig/Clang 0.13.0, MinGW headers and Windows SDK 26100 definitions for flag operators, the missing HRESULT and the debug-name GUID. The machine's Direct3D debug layer was unavailable. Running each Python entry point directly on Intel UHD 770 (32.0.101.5973), RTX 4060 (32.0.15.9579) and WARP (10.0.26100.9711) gave these results.For a separate negative control, I removed just the timed reload condition from
dispatch_translatedand rebuilt the runtime. All three adapters still passed the unpublished control. After publication all three failed the new fixture with two missing-translation refusals, and the second readback still held 320 sentinels. The unmodified runtime passed the same inputs on each adapter.The adjacent texture check reached
texture-store-deniedand observed the missing-UAV-token reason instead of the expected uncreated-view reason. #2710 tracks that existing main failure. The upstream Windows, Linux and LLVM checks passed.AI-assisted with Codex (GPT-6.2 Astra, xhigh).
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-26T03:33:47Z.
Review: COMMENTED
Review of head
ffbc2f76(the PR's own diff is unchanged from5bc3211c; head only merged main).What I checked:
startup_compute_live_retry_check.pyholds one device and one slot 67 pipeline across two fenced Dispatch calls. The first readback must keep all sentinel words, then the offline translation is published, and the second readback must match the expected words. The unpublished case requires two refusals and two untouched readbacks. That guards the retry behavior.prepare_caseis a plain extraction fromstartup_compute_dispatch_check.pywith the same setup; thedispatch-retrybranch instartup_stream_consumer.cpponly adds the first fenced dispatch and a stdin wait before the normal path.startup_compute_live_retry_{warp,hardware}next to the sibling dispatch tests with the same timeout and skip code.git diff --check origin/main...HEADclean. CI green on this head.Windows Server 2025 WARP, dev and release, 3/3 each:
startup_compute_(live_retry|dispatch|dispatch_heap)_warp.Note:
startup_compute_dispatch_texture_warpfails on this runner (refusal textan output texture entry is not the token of an unordered access viewinstead of the expectedan output texture view was not created on the desktop, attests/startup_compute_dispatch_texture_check.py:101). It fails identically with this PR's changes removed, so it is not caused by this PR. Someone should look at it separately.AI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-26T03:33:48Z.
Win2025 WARP receipt for head
ffbc2f76after updating with main.Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit
ffbc2f76d040236986d58da46118e8eb8f05adc6:--preset dev):cmake --build --preset dev --target startup_stream_consumer -- -j 2):29.45s(configure4.37s)ctest --preset dev -R '^startup_compute_(live_retry|dispatch|dispatch_heap)_warp$' --parallel 4 --no-tests=error --output-on-failure): 3/3 passed (2.61s:startup_compute_dispatch_heap_warp0.64s,startup_compute_dispatch_warp1.43s,startup_compute_live_retry_warp2.48s)/O2(--preset release):cmake --build --preset release --target startup_stream_consumer -- -j 2):35.85s(configure4.28s)ctest --preset release -R '^startup_compute_(live_retry|dispatch|dispatch_heap)_warp$' --parallel 4 --no-tests=error --output-on-failure): 3/3 passed (2.62s:startup_compute_dispatch_heap_warp0.59s,startup_compute_dispatch_warp0.77s,startup_compute_live_retry_warp2.49s)sccache: 0/278 hits; wall81.7sAI-assisted; commands listed were executed locally.