linalg::CoopMat<T, MemoryScope S, int M, int N, linalg.CoopMatMatrixUse R>.init

Description

Default constructor. Creates an uninitialized cooperative matrix.

Signature

/// Requires Capability Set 1:
linalg::CoopMat<T, MemoryScope S, int M, int N, linalg.CoopMatMatrixUseR>.init()
    where T : ICoopElement;

/// Requires Capability Set 1:
linalg::CoopMat<T, MemoryScope S, int M, int N, linalg.CoopMatMatrixUseR>.init(
    T t)
    where T : ICoopElement;

/// Requires Capability Set 2:
linalg::CoopMat<T, MemoryScope S, int M, int N, linalg.CoopMatMatrixUseR>.init<U, linalg.CoopMatMatrixUseR1>(
    linalg.CoopMat<U, S, M, N, R1> other)
    where U : ICoopElement
    where T : ICoopElement;

/// Requires Capability Set 1:
linalg::CoopMat<T, MemoryScope S, int M, int N, linalg.CoopMatMatrixUseR>.init(
    linalg.CoopMat<T, S, M, N, R> x)
    where T : ICoopElement;

/// Requires Capability Set 1:
linalg::CoopMat<T, MemoryScope S, int M, int N, linalg.CoopMatMatrixUseR>.init(
    int i)
    where T : ICoopElement;

Generic Parameters

U: ICoopElement

R1 : linalg.CoopMatMatrixUse

Parameters

t : T

other : linalg.CoopMat<U, S, M, N, R1>

x : linalg.CoopMat<T, S, M, N, R>

i : int

Availability and Requirements

Capability Set 1

Defined for the following targets:

hlsl

Available in all stages.

cuda

Available in all stages.

metal

Available in all stages.

spirv

Available in all stages.

Requires capability: spvCooperativeMatrixKHR.

Capability Set 2

Defined for the following targets:

hlsl

Available in all stages.

cuda

Available in all stages.

spirv

Available in all stages.

Requires capability: spvCooperativeMatrixConversionsNV.