linalg.CoopMat<T, S, M, N, R>.convertUse
Description
Convert cooperative matrix accumulator to another cooperative matrix with a different use, such as CoopMatMatrixUse.MatrixA or CoopMatMatrixUse.MatrixB. Available when targeting SPIR-V only, uses the SPV_NV_cooperative_matrix2 extension.
Signature
linalg.CoopMat<T, S, M, N, R1> linalg.CoopMat<T, S, M, N, R>.convertUse<linalg.CoopMatMatrixUseR1>() where T : ICoopElement where R == linalg.CoopMatMatrixUse.MatrixAccumulator;
Generic Parameters
R1 : linalg.CoopMatMatrixUse
The matrix use specifier to convert to (MatrixA or MatrixB).
Availability and Requirements
Defined for the following targets:
spirv
Available in all stages.
Requires capability: spvCooperativeMatrixConversionsNV.