Skip to content

[SM6.10] LinAlg: Fix thread-scope InterlockedAccumulate params#8367

Merged
tex3d merged 1 commit intomicrosoft:mainfrom
tex3d:fix-thread-intacc-params
Apr 15, 2026
Merged

[SM6.10] LinAlg: Fix thread-scope InterlockedAccumulate params#8367
tex3d merged 1 commit intomicrosoft:mainfrom
tex3d:fix-thread-intacc-params

Conversation

@tex3d
Copy link
Copy Markdown
Contributor

@tex3d tex3d commented Apr 11, 2026

The thread-scope overload wasn't supposed to have Stride and Layout, since the Layout must be OuterProductOptimal for thread scope.

Additionally, Align is device-dependent for OuterProductOptimal, so there's no point supplying it from HLSL or DXIL.

This change removes these three parameters from this function in the HLSL Header, supplying 0 for Stride, MatrixLayout::OuterProductOptimal for Layout, and 0 for Align to the builtin operation which will pass these values along to the DXIL operation.

Fixes #8360

The thread-scope overload wasn't supposed to have Stride and Layout, since the Layout must be OuterProductOptimal for thread scope.

Additionally, Align is device-dependent for OuterProductOptimal, so there's no point supplying it from HLSL or DXIL.

This change removes these three parameters from this function in the HLSL Header, supplying 0 for Stride, MatrixLayout::OuterProductOptimal for Layout, and 0 for Align to the builtin operation which will pass these values along to the DXIL operation.

Fixes microsoft#8360
@tex3d tex3d merged commit 4897501 into microsoft:main Apr 15, 2026
13 checks passed
@github-project-automation github-project-automation bot moved this from New to Done in HLSL Roadmap Apr 15, 2026
@tex3d tex3d deleted the fix-thread-intacc-params branch April 15, 2026 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[SM6.10] LinAlg: InterlockedAccumulate has extra params for thread scope

3 participants