Struct HalfMaxKernel
Half max. Contiguous chunks (stride == 2) run a 4-accumulator unroll that breaks the per-element dependency chain (~1.3× the scalar fold); other strides take the scalar branch. NaN propagates: the kernel aborts the moment a NaN is seen so the caller returns Half.NaN.
public readonly struct HalfMaxKernel : INDReducingInnerLoop<HalfMinMaxAccumulator>
- Implements
- Inherited Members
- Extension Methods
Methods
Execute(void**, long*, long, ref HalfMinMaxAccumulator)
public bool Execute(void** dataptrs, long* strides, long count, ref HalfMinMaxAccumulator a)
Parameters
dataptrsvoid**strideslong*countlongaHalfMinMaxAccumulator