Skip to content

Comments

[NFC] Remove legacy joint matrix instructions#3438

Merged
MrSidims merged 5 commits intoKhronosGroup:mainfrom
MrSidims:remove-joint-matrix
Dec 4, 2025
Merged

[NFC] Remove legacy joint matrix instructions#3438
MrSidims merged 5 commits intoKhronosGroup:mainfrom
MrSidims:remove-joint-matrix

Conversation

@MrSidims
Copy link
Contributor

@MrSidims MrSidims commented Nov 9, 2025

Brand-new spec: intel/llvm#12497

Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
@MrSidims MrSidims force-pushed the remove-joint-matrix branch from ed56c7d to 6174a53 Compare November 9, 2025 20:20
Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
@MrSidims MrSidims requested a review from vmaksimo November 9, 2025 21:25
Comment on lines -164 to -165
_SPIRV_OP(Capability, JointMatrixPackedInt2ComponentTypeINTEL)
_SPIRV_OP(Capability, JointMatrixPackedInt4ComponentTypeINTEL)
Copy link
Contributor

Choose a reason for hiding this comment

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

What about PackedCooperativeMatrixINTEL capability?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

They no longer present in our specification. Added a link in PR description actually

Copy link
Contributor

Choose a reason for hiding this comment

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

It is present in the PR you added in description - guess the spec needs to be fixed

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Does it? Don't be confused by PackedINTEL - it's for VNNI layout of a matrix in memory. Int2/Int4 is typed interpretation for matrix elements.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah, I see that.
I mean that we maybe need to add capability PackedCooperativeMatrixINTEL to the headers as it is listed in the specification and allows to use this PackedINTEL matrix layout

Copy link
Contributor

Choose a reason for hiding this comment

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

Ok, I'll add it in a separate PR. Please resolve conflicts to merge this one

Dmitry Sidorov and others added 2 commits November 11, 2025 01:16
Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
Copy link
Contributor

@vmaksimo vmaksimo left a comment

Choose a reason for hiding this comment

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

LGTM 😄

@MrSidims MrSidims merged commit 60d78aa into KhronosGroup:main Dec 4, 2025
7 of 9 checks passed
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.

2 participants