linalg::CoopMat<T, MemoryScope S, int M, int N, linalg.CoopMatMatrixUse R>.GetLength
Description
Returns the number of elements for the current thread. Depending on the number of threads for the given matrix, each thread will get smaller length.
Signature
static uint linalg::CoopMat<T, MemoryScopeS, int M, int N, linalg.CoopMatMatrixUseR>.GetLength() where T : __BuiltinArithmeticType;
Remarks
The return value is unlikely to be same to M * N.
Availability and Requirements
Defined for the following targets:
spirv
Available in all stages.
Requires capability: spvCooperativeMatrixKHR
.