Struct NDSumAxisKernel<T>
Sum reduction kernel for axis operations.
public readonly struct NDSumAxisKernel<T> : INDAxisNumericReductionKernel<T> where T : unmanaged, IAdditionOperators<T, T, T>, IAdditiveIdentity<T, T>
Type Parameters
T
- Implements
- Inherited Members
- Extension Methods
Methods
Execute(T*, long, long)
Execute the reduction along the axis.
public static T Execute(T* src, long srcStride, long length)
Parameters
srcT*Source pointer at base position
srcStridelongStride along the reduction axis
lengthlongLength of the reduction axis
Returns
- T
Reduced value