CoopMat<T, S:CoopMatScope, M:int, N:int, R:CoopMatMatrixUse>.load
Description
Signature
static CoopMat<T, S, M, N, R> CoopMat<T, S:CoopMatScope, M:int, N:int, R:CoopMatMatrixUse>.load( ByteAddressBuffer buffer, uint element, uint stride, CoopMatMatrixLayout matrixLayout) where T : __BuiltinArithmeticType; static CoopMat<T, S, M, N, R> CoopMat<T, S:CoopMatScope, M:int, N:int, R:CoopMatMatrixUse>.load( RWByteAddressBuffer buffer, uint element, uint stride, CoopMatMatrixLayout matrixLayout) where T : __BuiltinArithmeticType; static CoopMat<T, S, M, N, R> CoopMat<T, S:CoopMatScope, M:int, N:int, R:CoopMatMatrixUse>.load( StructuredBuffer<T, DefaultDataLayout> buffer, uint element, uint stride, CoopMatMatrixLayout matrixLayout) where T : __BuiltinArithmeticType; static CoopMat<T, S, M, N, R> CoopMat<T, S:CoopMatScope, M:int, N:int, R:CoopMatMatrixUse>.load( RWStructuredBuffer<T, DefaultDataLayout> buffer, uint element, uint stride, CoopMatMatrixLayout matrixLayout) where T : __BuiltinArithmeticType; static CoopMat<T, S, M, N, R> CoopMat<T, S:CoopMatScope, M:int, N:int, R:CoopMatMatrixUse>.load( Ptr<T> buffer, uint element, uint stride, CoopMatMatrixLayout matrixLayout) where T : __BuiltinArithmeticType; static CoopMat<T, S, M, N, R> CoopMat<T, S:CoopMatScope, M:int, N:int, R:CoopMatMatrixUse>.load<U:int>( T[U] data, uint element, uint stride, CoopMatMatrixLayout matrixLayout) where T : __BuiltinArithmeticType;
Generic Parameters
U : int
Parameters
buffer : ByteAddressBuffer
element : uint
stride : uint
matrixLayout : CoopMatMatrixLayout
buffer : RWByteAddressBuffer
buffer : StructuredBuffer<T, DefaultDataLayout>
buffer : RWStructuredBuffer<T, DefaultDataLayout>
buffer : Ptr<T>
data : T [ U ]
Availability and Requirements
Defined for the following targets:
spirv
Available in all stages.
Requires capability: spvCooperativeMatrixKHR
.