linalg::CoopMat<T, MemoryScope S, int M, int N, linalg.CoopMatMatrixUse R>.ReduceColumn
Description
Reduces the matrix along columns using the specified combining operation. Requires Vulkan with SPV_NV_cooperative_matrix2 extension.
Signature
linalg.CoopMat<T, S, RM, N, linalg.CoopMatMatrixUse.MatrixAccumulator> linalg::CoopMat<T, MemoryScope S, int M, int N, linalg.CoopMatMatrixUseR>.ReduceColumn<int RM>( (T, T)->T combineOp) where T : __BuiltinArithmeticType;
Generic Parameters
RM : int
The number of rows in the resulting reduced matrix.
Parameters
combineOp : ( T, T ) -> T
The binary function used to combine elements (e.g., addition, multiplication).
Return value
A reduced accumulator matrix with dimensions RM42949672354294967191N.
Availability and Requirements
Defined for the following targets:
spirv
Available in all stages.
Requires capability: spvCooperativeMatrixReductionsNV.