coopVecOuterProductAccumulate
Description
Signature
/// Requires Capability Set 1: void coopVecOuterProductAccumulate<T, M:int, N:int>( CoopVec<T, M> a, CoopVec<T, N> b, RWByteAddressBuffer matrix, int matrixOffset, uint matrixStride, CoopVecMatrixLayout memoryLayout, CoopVecComponentType matrixInterpretation) where T : __BuiltinArithmeticType; /// Requires Capability Set 2: void coopVecOuterProductAccumulate<T, M:int, N:int, IgnoredBufferElementType>( CoopVec<T, M> a, CoopVec<T, N> b, RWStructuredBuffer<IgnoredBufferElementType, DefaultDataLayout> matrix, int matrixOffset, uint matrixStride, CoopVecMatrixLayout memoryLayout, CoopVecComponentType matrixInterpretation) where T : __BuiltinArithmeticType; /// Requires Capability Set 2: void coopVecOuterProductAccumulate<T, M:int, N:int, U, IgnoredBufferSize:int>( CoopVec<T, M> a, CoopVec<T, N> b, U[IgnoredBufferSize] matrix, int matrixOffset, uint matrixStride, CoopVecMatrixLayout memoryLayout, CoopVecComponentType matrixInterpretation) where T : __BuiltinArithmeticType where U : __BuiltinArithmeticType;
Generic Parameters
T: __BuiltinArithmeticType
M : int
N : int
IgnoredBufferElementType
U: __BuiltinArithmeticType
IgnoredBufferSize : int
Parameters
a : CoopVec<T, M>
b : CoopVec<T, N>
matrix : RWByteAddressBuffer
matrixOffset : int
matrixStride : uint
memoryLayout : CoopVecMatrixLayout
matrixInterpretation : CoopVecComponentType
matrix : RWStructuredBuffer<IgnoredBufferElementType, DefaultDataLayout>
matrix : U [ IgnoredBufferSize ]
Availability and Requirements
Capability Set 1
Defined for the following targets:
hlsl
Available in all stages.
cpp
Available in all stages.
cuda
Available in all stages.
spirv
Available in all stages.
Requires capability: spvCooperativeVectorNV
.
Capability Set 2
Defined for the following targets:
spirv
Available in all stages.
Requires capability: spvCooperativeVectorTrainingNV
.