Repository navigation
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
Contributor
Author
|
Folded into #3542 so the main-green fix, including the retire-queue sync, is one review unit. The 3-line test change is unchanged. |
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 (c).
case6_written_generation_preservedreleases the newer wrapper, which signals a release-time fence on every registered queue, then callssettle()without waiting.settle()resubmits the drain list but never waits, so a fence that has not completed leaves both wrappers retained and the_debug1stage fails withretained=131072/2against65536/1. Syncdirectandgatedbeforesettle(), as #3457 did forstartup_resource_retire.cpp.Test-only change: three lines in
tests/startup_resource_retire_title.cpp; the expectation and runtime code are unchanged.Validation
startup_resource_retire_title.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.debug0variants pass; thedebug1variants skip 77 for the same missing debug layer.git diff --checkandgit show --checkpass.Not measured: the exact
_debug1path. The failure that prompted the fix was not reproduced locally because the D3D12 debug layer is unavailable on this host.AI-assisted.