CoopVec<T, int N>.matMulAddAccumPacked

Description

Signature

void CoopVec<T, int N>.matMulAddAccumPacked<U, int PackedK>(
    CoopVec<U, PackedK> input,
    CoopVecComponentType inputInterpretation,
    int k,
    RWByteAddressBuffer matrix,
    int matrixOffset,
    CoopVecComponentType matrixInterpretation,
    RWByteAddressBuffer bias,
    int biasOffset,
    CoopVecComponentType biasInterpretation,
    CoopVecMatrixLayout memoryLayout,
    bool transpose,
    uint matrixStride)
    where U : __BuiltinArithmeticType
    where T : __BuiltinArithmeticType;

void CoopVec<T, int N>.matMulAddAccumPacked<U, int PackedK>(
    CoopVec<U, PackedK> input,
    CoopVecComponentType inputInterpretation,
    int k,
    ByteAddressBuffer matrix,
    int matrixOffset,
    CoopVecComponentType matrixInterpretation,
    ByteAddressBuffer bias,
    int biasOffset,
    CoopVecComponentType biasInterpretation,
    CoopVecMatrixLayout memoryLayout,
    bool transpose,
    uint matrixStride)
    where U : __BuiltinArithmeticType
    where T : __BuiltinArithmeticType;

Generic Parameters

U: __BuiltinArithmeticType

PackedK : int

Parameters

input : CoopVec<U, PackedK>

inputInterpretation : CoopVecComponentType

k : int

matrix : RWByteAddressBuffer

matrixOffset : int

matrixInterpretation : CoopVecComponentType

bias : RWByteAddressBuffer

biasOffset : int

biasInterpretation : CoopVecComponentType

memoryLayout : CoopVecMatrixLayout

transpose : bool

matrixStride : uint

matrix : ByteAddressBuffer

bias : ByteAddressBuffer

Availability and Requirements

Defined for the following targets:

hlsl

Available in all stages.

glsl

Available in all stages.

cpp

Available in all stages.

cuda

Available in all stages.

Requires capability: optix_coopvec.

spirv

Available in all stages.

Requires capability: spvCooperativeVectorNV.