Skip to content

Allow the revision marker in the native Dispatch cache check - #3228

Closed
RonLogic wants to merge 1 commit into
R0Y00:mainfrom
RonLogic:test/native-dispatch-revision-marker
Closed

RonLogic wants to merge 1 commit into
R0Y00:mainfrom
RonLogic:test/native-dispatch-revision-marker

Conversation

@RonLogic

Copy link
Copy Markdown
Contributor

Change

Refs #2820. The native Dispatch regression now recognizes revision.txt as cache bookkeeping. It still refuses a cache that contains an unexpected pipeline artifact after the in-process translation and before the offline compiler runs. No production files change.

Verification

Clean main 7fcde81f: both adapters reached the cache check and failed with the native route left ['revision.txt'] in the cache.

With 7de0ee42, ctest --preset release --no-tests=error -R '^startup_compute_dispatch_native_(hardware|warp)$' --output-on-failure passed on RTX 4070 through the 320-word GPU readback, cache fallback and shared-UAV control. In-box WARP checked the untouched output and published fallback, then reported its expected wave32 capability skip. The same test script also passed against the Debug and Release runtime builds from #3227, with the same in-box WARP skip.

Evidence

The existing test uses the repository's source-built shaders. This change accepts the marker by its exact filename.

I used Codex to prepare the change and ran verification locally.

@R0Y00

R0Y00 commented Nov 28, 2026

Copy link
Copy Markdown
Owner

Thanks for independently tracking this down. #3231 is now on main at 38129ba and covers the same Dispatch cache assertion plus the RTV cache assertion. The Dispatch check still rejects extra publication files. The single-file change here is superseded by that merge.

akimfomin commented Nov 28, 2026 •

Copy link
Copy Markdown

The conflict above is historical. I missed the maintainer's supersession note before posting. Merged #3231 already allows the revision marker while preserving the exact-set checks. Nothing further is requested from #3228. Compared with Continued #2511, the distinction is that this marker is permitted bookkeeping in a test, rather than proof of driver-cache eligibility. Earlier pinned Git comparison.

Copy link
Copy Markdown
Contributor Author

Confirmed that main at 38129ba3 preserves the exact-set assertion and permits the same revision.txt marker here, plus the separate RTV case. Closing this PR as superseded by #3231. Thanks for confirming the overlap.

@RonLogic RonLogic closed this Nov 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants