coopMatLoad
Description
Signature
CoopMat<T, S, M, N, R> coopMatLoad<T, S:CoopMatScope, M:int, N:int, R:CoopMatMatrixUse>( ByteAddressBuffer buffer, uint element, uint stride, CoopMatMatrixLayout matrixLayout) where T : __BuiltinArithmeticType; CoopMat<T, S, M, N, R> coopMatLoad<T, S:CoopMatScope, M:int, N:int, R:CoopMatMatrixUse>( RWByteAddressBuffer buffer, uint element, uint stride, CoopMatMatrixLayout matrixLayout) where T : __BuiltinArithmeticType; CoopMat<T, S, M, N, R> coopMatLoad<T, S:CoopMatScope, M:int, N:int, R:CoopMatMatrixUse>( StructuredBuffer<T, DefaultDataLayout> buffer, uint element, uint stride, CoopMatMatrixLayout matrixLayout) where T : __BuiltinArithmeticType; CoopMat<T, S, M, N, R> coopMatLoad<T, S:CoopMatScope, M:int, N:int, R:CoopMatMatrixUse>( RWStructuredBuffer<T, DefaultDataLayout> buffer, uint element, uint stride, CoopMatMatrixLayout matrixLayout) where T : __BuiltinArithmeticType; CoopMat<T, S, M, N, R> coopMatLoad<T, S:CoopMatScope, M:int, N:int, R:CoopMatMatrixUse>( Ptr<T> buffer, uint element, uint stride, CoopMatMatrixLayout matrixLayout) where T : __BuiltinArithmeticType; CoopMat<T, S, M, N, R> coopMatLoad<T, S:CoopMatScope, M:int, N:int, R:CoopMatMatrixUse, U:int>( T[U] data, uint element, uint stride, CoopMatMatrixLayout matrixLayout) where T : __BuiltinArithmeticType;
Generic Parameters
T: __BuiltinArithmeticType
S : CoopMatScope
M : int
N : int
R : CoopMatMatrixUse
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
.