Expand description
Cooperative matrix types and operations (SPV_KHR_cooperative_matrix).
Requires the CooperativeMatrixKHR capability and SPV_KHR_cooperative_matrix extension:
-C target-feature=+CooperativeMatrixKHR,+ext:SPV_KHR_cooperative_matrixSee the SPV_KHR_cooperative_matrix specification for full details.
Structs§
- Cooperative
Matrix - A cooperative matrix distributed across the subgroup.
Enums§
- Matrix
Layout - Memory layout for cooperative matrix load/store operations.
- Matrix
Use - Matrix role in a cooperative multiply-accumulate operation (
D = A × B + C).
Constants§
- COLUMN_
MAJOR - Memory layout: columns are stored contiguously.
- MATRIX_
A - Matrix role: input operand A in D = A × B + C.
- MATRIX_
ACCUMULATOR - Matrix role: accumulator / result in D = A × B + C.
- MATRIX_
B - Matrix role: input operand B in D = A × B + C.
- ROW_
MAJOR - Memory layout: rows are stored contiguously.
Functions§
- mul_add
- Linear-algebraic matrix multiply of
AbyBand then component-wise addC.