Skip to content

Conversation

@bokrzesi
Copy link

No description provided.

Original message:

Add ComponentTypeInterpretation for joint matrix type (KhronosGroup#1835)
It specifies how to interpret 'Component Type' when components of a joint matrix are storages for values of different types, for example float for TF32, unsigned short for bfloat16.

At this point only tf32 type interpretation is added during SPIR-V generation. Adding it to bf16 is a breaking change and
requires adaptation across drivers.

Spec update:
intel/llvm#8175

Signed-off-by: Sidorov, Dmitry [email protected]
Original Message:

Start preparing for TypeJointMatrixINTEL switch (KhronosGroup#1935)
The patch adds TypeJointMatrixINTELv2 which maps to new type OpCode
6184. Under new OpCode matrix type no longer has Layout parameter. The patch also moved 'scope' to optional matrix muladd instruction.

The changes are done only in the consumer part to prepare the switch and make E2E switch backward compatible by preparing consumers ahead of time.

Unfortunately there is no way to add a test foe this unless it's binary test, but it seems to be a bit unsafe to add this, so the patch was tested locally.

Spec change:
intel/llvm#8175

Signed-off-by: Sidorov, Dmitry <[email protected]>
case OpTypeSampler:
return SPIRV_SAMPLER_T_ADDR_SPACE;
case internal::OpTypeJointMatrixINTEL:
case internal::OpTypeJointMatrixINTELv2:
Copy link
Contributor

Choose a reason for hiding this comment

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

@bokrzesi could you please elaborate, why do we need these backports? They were not done, because our base extension for sycl::joint matrices is SPV_KHR_cooperative_matrix. Hence Intel's version for this functionality no longer contain joint matrix type and other common functionality.

Copy link
Author

@bokrzesi bokrzesi Oct 20, 2025

Choose a reason for hiding this comment

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

Hi, I'm trying to figure out what needs to be backported

I need this (lib/SPIRV/SPIRVReader.cpp)

image

@bokrzesi bokrzesi marked this pull request as draft October 20, 2025 16:19
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