Repository navigation
TA-48 stays: sub-groups of 16 do not avoid IGC's component-select miscompile (#375) - #519
Open
berkgeveci wants to merge 1 commit into
Open
berkgeveci wants to merge 1 commit into
berkgeveci wants to merge 1 commit into
Conversation
…compile (Kitware#375) Checked on headroom (IGC 2.7.11): with every kernel at sub-groups of 16 and the i32 cast off, test_runtime_component_from_a_conditional_in_a_loop fails on Level Zero as TA-48 did (odd selectors take the last component, even the first). The workaround's row and _narrow_selector's docstring say so.
This branch has not been deployed
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.
Closes #375.
The question: does requiring sub-groups of 16 on every Level Zero kernel (#373), which fixed IGC 2.7.11's five SIMD32 miscompiles, also avoid TA-48? TA-48 is the miscompile of a runtime vector-component selector, which Tack works around by comparing the selector as an i32.
The answer: no. On a Max 1100 (IGC 2.7.11, compute runtime 25.05.32567.17), a branch with the i32 cast off (and nothing else changed) failed
test_runtime_component_from_a_conditional_in_a_loopon Level Zero with TA-48's own pattern. 16 of 24 elements were wrong: an odd selector took the last component and an even one the first. The kernel's source showsintel_reqd_sub_group_size(16)on it. The same test passes onmainwith the cast on. So the cast stays.This PR records that in TA-48's row of
docs/design/vendor-workarounds.mdand in_narrow_selector's docstring. No code changes;mkdocs build --strictis clean.🤖 Generated with Claude Code