WaveActiveSum
Description
Signature
T WaveActiveSum<T>(T expr) where T : __BuiltinArithmeticType; vector<T, N> WaveActiveSum<T, N:int>(vector<T, N> expr) where T : __BuiltinArithmeticType; matrix<T, N, M> WaveActiveSum<T, N:int, M:int>(matrix<T, N, M> expr) where T : __BuiltinArithmeticType;
Generic Parameters
T: __BuiltinArithmeticType
N : int
M : int
Parameters
expr : T
expr : vector<T, N>
expr : matrix<T, N, M>
Availability and Requirements
Defined for the following targets:
hlsl
Available in all stages.
glsl
Available in all stages.
cuda
Available in all stages.
spirv
Available in all stages.
Requires capability: spvGroupNonUniformArithmetic
.