Skip to content

spirv.cooperative_matrix type

← Type reference

Exact semantic payload of an OpTypeCooperativeMatrixKHR value. The type travels inside a typed spirv.id register so control-flow and function boundaries retain every operand needed by SPIR-V emission.

Property Value
Representation dialect
Semantic role ordinary
Target contracts

Parameters

Name Kind Cardinality Description
rows i64 required Static matrix row count.
columns i64 required Static matrix column count.
component_type enum SpirvScalarType required Signedness-preserving SPIR-V component type.
scope enum SpirvScope required Execution scope shared by matrix invocations.
use enum SpirvCooperativeMatrixUse required Matrix operand role.