Repository navigation
compute: lower wide SMEM descriptor and constant loads - #3553
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 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 the SMEM coverage slice in the 2026-11-30 plan.
tools/compute_store_aot.pyalready decodeds_load_dwordx4/x8ands_buffer_load_dword/x2/x4. This admits the next widths:s_load_dwordx16: four consecutive 16-byte descriptor slots (16 words).s_buffer_load_dwordx8: eight words from the bound constant record.s_buffer_load_dwordx16: all sixteen words, at offset 0.The source-built test
compute_store_aot_smem_wide_loadschecks the accepted words, the highest valid destinations (s88..s103, s96..s103, s80..s95), and refusals for misaligned destinations, out-of-range registers, incomplete descriptor/constant bases, offsets past the 16-word record, overlapping destinations and a fifth table slot.Coverage
The three forms exist in both references: +3 forms in gfx1013 and +3 in gfx1030. The isolated test measures 3/1,968 and 3/1,863; the expected full table is 1,483/1,968 and 1,474/1,863.
Tests
ctest --preset dev --no-tests=error -R '^compute_store_aot_smem_wide_loads$' -V-> 1/1 passed (10.39 s).python -B tests/form_coverage_check.py-> passed.git diff --check-> clean.Not measured: a D3D12 draw/DXC compile for these forms; the check is source-built lowering only. The existing
compute_store_aot_*suite was not replayed in this worktree.The branch is based on red
main44a3ad5; #3542 fixes the pre-existingstartup_triage_runfailure that can turn the Linux check red.AI-assisted.