WaveMultiPrefixInclusiveMax

Description

Signature

/// Requires Capability Set 1:
T WaveMultiPrefixInclusiveMax<T>(
    T value,
    vector<uint, 4> mask)
    where T : __BuiltinArithmeticType;

/// Requires Capability Set 1:
vector<T, N> WaveMultiPrefixInclusiveMax<T, int N>(
    vector<T, N> value,
    vector<uint, 4> mask)
    where T : __BuiltinArithmeticType;

/// Requires Capability Set 2:
matrix<T, N, M> WaveMultiPrefixInclusiveMax<T, int N, int M>(
    matrix<T, N, M> value,
    vector<uint, 4> mask)
    where T : __BuiltinArithmeticType;

Generic Parameters

T: __BuiltinArithmeticType

N : int

M : int

Parameters

value : T

mask : vector<uint, 4>

value : vector<T, N>

value : matrix<T, N, M>

Availability and Requirements

Capability Set 1

Defined for the following targets:

glsl

Available in all stages.

cuda

Available in all stages.

spirv

Available in all stages.

Requires capabilities: spvGroupNonUniformBallot, spvGroupNonUniformArithmetic, spvGroupNonUniformPartitionedNV.

Capability Set 2

Defined for the following targets:

glsl

Available in all stages.

spirv

Available in all stages.

Requires capabilities: spvGroupNonUniformBallot, spvGroupNonUniformArithmetic, spvGroupNonUniformPartitionedNV.