linalg::CoopMat<T, MemoryScope S, int M, int N, linalg.CoopMatMatrixUse R>.copyFrom¶
Description¶
Copies the contents from another cooperative matrix into this matrix.
Signature¶
void linalg::CoopMat<T, MemoryScope S, int M, int N, linalg.CoopMatMatrixUseR>.copyFrom<U, linalg.CoopMatMatrixUseR1>( linalg.CoopMat<U, S, M, N, R1> other) where U : ICoopElement where T : ICoopElement;
Generic Parameters¶
U: ICoopElement¶
The element type of the source cooperative matrix.
R1 : linalg.CoopMatMatrixUse¶
Parameters¶
other : linalg.CoopMat<U, S, M, N, R1>¶
The source cooperative matrix to copy from.
Availability and Requirements¶
Defined for the following targets:
hlsl¶
Available in all stages.
cuda¶
Available in all stages.
spirv¶
Available in all stages.
Requires capability: spvCooperativeMatrixConversionsNV.