Skip to content

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
Kitware:mainfrom
berkgeveci:docs/ta48-not-simd32
Open

berkgeveci wants to merge 1 commit into
Kitware:mainfrom
berkgeveci:docs/ta48-not-simd32

Conversation

@berkgeveci

Copy link
Copy Markdown
Collaborator

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_loop on 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 shows intel_reqd_sub_group_size(16) on it. The same test passes on main with the cast on. So the cast stays.

This PR records that in TA-48's row of docs/design/vendor-workarounds.md and in _narrow_selector's docstring. No code changes; mkdocs build --strict is clean.

🤖 Generated with Claude Code

…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.
@berkgeveci berkgeveci added this to the 0.9 milestone Dec 5, 2026

This branch has not been deployed

No deployments
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.

Level Zero: is the i32 component selector (TA-48) still needed with SIMD16?

1 participant