Skip to content

[LinAlg spec change] Update vector sizes on Multiply* to match column-vector multiplication#843

Merged
hekota merged 2 commits into
microsoft:mainfrom
hekota:fix-vector-dim-mixup
Apr 3, 2026
Merged

[LinAlg spec change] Update vector sizes on Multiply* to match column-vector multiplication#843
hekota merged 2 commits into
microsoft:mainfrom
hekota:fix-vector-dim-mixup

Conversation

@hekota
Copy link
Copy Markdown
Member

@hekota hekota commented Apr 3, 2026

Matrix-vector APIs should be aligned with coopvec, meaning the multiplication would be matrix x column-based vector.

This was originally done in #741 but somehow got mostly reverted.

@hekota hekota changed the title [Spec update] Update vector sizes on Multiply* to match colunm-vector multiplication [LinAlg spec change] Update vector sizes on Multiply* to match colunm-vector multiplication Apr 3, 2026
@hekota hekota changed the title [LinAlg spec change] Update vector sizes on Multiply* to match colunm-vector multiplication [LinAlg spec change] Update vector sizes on Multiply* to match column-vector multiplication Apr 3, 2026
Copy link
Copy Markdown
Collaborator

@llvm-beanz llvm-beanz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Copy Markdown
Collaborator

@tex3d tex3d left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this all looks correct, but I can get things backwards easily, so multiple people should probably verify.

@hekota hekota marked this pull request as ready for review April 3, 2026 19:13
Copy link
Copy Markdown
Member

@jenatali jenatali left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor wording fixes but the meat looks right.

Comment thread proposals/0035-linalg-matrix.md Outdated
Comment thread proposals/0035-linalg-matrix.md Outdated
Comment thread proposals/0035-linalg-matrix.md Outdated
@hekota hekota merged commit 40ede0e into microsoft:main Apr 3, 2026
4 checks passed
@github-project-automation github-project-automation Bot moved this to Triaged in HLSL Triage Apr 3, 2026
@pow2clk
Copy link
Copy Markdown
Contributor

pow2clk commented Apr 8, 2026

The godbolt link in the spec was not updated to include the updates to the appendix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Triaged

Development

Successfully merging this pull request may close these issues.

5 participants