Repository navigation
tests: restore green main after the SDWA and UAV merges - #3542
Merged
Merged
Conversation
case6 of startup_resource_retire_title releases the newer wrapper and calls settle() without waiting for the queues. Every release signals a release-time fence on each registered queue, and settle() only resubmits the drain list, so a fence that has not completed leaves both wrappers retained and the stage fails with retained=131072/2 against 65536/1. Sync the direct and gated queues before settle(), as R0Y00#3457 did for startup_resource_retire. The expectation is unchanged. Refs R0Y00#3507
This was referenced Nov 30, 2026
3 of 5 tasks
lukaslw-lab
approved these changes
Nov 30, 2026
lukaslw-lab
left a comment
Contributor
There was a problem hiding this comment.
Reviewed 8dfc23d7 by reading the diff; not built or run.
Verdict: approve. Both commits fix the six main failures from #3507. CI is green at this head, which contains main 44a3ad5a. No MUST.
- SHOULD The new watch skip has no test (
gfx2hlsl.py:14084-14096). It should be shown that a request rewritten during the watch, after its failure, is still retried. Line 80 callspending_keyswithoutwatch_since_ns, and the Popen case (startup_gfx2hlsl_watch_check.py:531-556) only adds new keys. Onepending_keys(d, False, watch_since_ns=...)call, with the request touched after its.fail, would pin it. This can follow after merge. - Checked, no finding:
triage_run.py:181is exactly the reason #3471 added. #3546, #3548 and #3559 carry only this line, and #3543 only the retire sync, so this PR covers all four.- The watch skip applies the same up-to-date rule as the
skip_failedbranch (fail mtime >= max(request, described)), only to failures written afterwatch_since_ns, and never to arecheck. A failure from before the watch keeps its one retry. startup_resource_retire_title.cpp:883-885syncsdirectandgatedbeforesettle(), like the stages at :621 and :736 and #3457. It is test-only.- The SDWA/cvt control edits follow #3470/#3300, and the
v_sin_f16positive forms stay pinned innative_sin_cos_f16. The doc text matches.
5 tasks done
This was referenced Nov 30, 2026
This was referenced Nov 30, 2026
5 tasks done
This was referenced Nov 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #3507.
mainat 44a3ad5 has six failures after #3470 and #3471. This fixes the four causes.startup_gfx2hlsl_watch: a watch pass treated every request written after the watch started as new even when an earlier pass had already written<key>.fail; it rewrote the failure and its mtime. The pass now skips a failure recorded during the current watch when its mtime is at least the request's. A failure that predates the watch is still retried once, and a request modified after its failure is still retried.startup_triage_run: addan output UAV interval exceeds the D3D12 buffer view element limittoCOMPUTE_DISPATCH_REASONS, the reason added by runtime: cap slot-19 output UAV intervals at the D3D12 element limit #3471.native_cvt_f16_i16/native_sdwa_profiles: compute: admit SDWA profiles for lowered f16, frexp and conversion ops #3470 admits the binary16 conversion SDWA profiles and shader: lower v_sin_f16 and v_cos_f16 in direct Compute DXIL #3300 admitsv_sin_f16/v_cos_f16; update the obsolete refusal controls. The cvt f16/i16 control now expects the specific DWORD-destination refusal, and the v_sin refusal is removed becausenative_sin_cos_f16_check.pypins the positive SDWA forms.startup_resource_retire_title_hardware_debug1:case6_written_generation_preservedreleases the newer wrapper and callssettle()without waiting for the release-time fences; syncdirectandgatedbeforesettle(), as gpu: wait for every queue before settling the in-flight retire stage #3457 did forstartup_resource_retire.cpp. This is the test-only change that gpu: sync retire queues before the title settle #3543 carried separately; it is folded here so the main-green fix is one review unit.Validation
ctest --preset dev --no-tests=error -R '^(startup_gfx2hlsl_watch|startup_triage_run|native_cvt_f16_i16_(ir|controls)|native_sdwa_profiles_ir)$' -V-> 5/5 passed.ctest --preset dev --no-tests=error -R '^(startup_gfx2hlsl_watch|native_sdwa_profiles_dxil|native_sin_cos_f16_ir)$' --repeat until-fail:3-> 3/3 passed three times; the watch test passed in 12.83-24.18 s.startup_resource_retire_title_hardware_debug0: 5/5 passed in Debug and 5/5 passed at /O2 on the RX 9060 XT.startup_resource_retire_title_hardware_debug1: 5/5 skipped with code 77 in both presets because this host has noC:\\Windows\\System32\\d3d12sdklayers.dll; the CI failure itself was not reproduced locally.python -B tests/docs_links_check.py-> 181 Markdown files and 726 links passed.python -B tests/bidi_controls_check.py-> 2,688 files, no bidirectional controls.Not measured: the exact
_debug1retire path; the D3D12 debug layer is unavailable on this host.AI-assisted.