Struct ILKernelGenerator.ReduceKernelKey
Cache key for a per-chunk reduction kernel: operation + input dtype + accumulator (output) dtype. Layout is handled at runtime inside the kernel body (pinned vs slab, contiguous vs strided inner loop), so it is NOT part of the key.
public readonly record struct ILKernelGenerator.ReduceKernelKey : IEquatable<ILKernelGenerator.ReduceKernelKey>
- Implements
- Inherited Members
- Extension Methods
Constructors
ReduceKernelKey(ReductionOp, NPTypeCode, NPTypeCode)
Cache key for a per-chunk reduction kernel: operation + input dtype + accumulator (output) dtype. Layout is handled at runtime inside the kernel body (pinned vs slab, contiguous vs strided inner loop), so it is NOT part of the key.
public ReduceKernelKey(ReductionOp Op, NPTypeCode InType, NPTypeCode AccType)
Parameters
OpReductionOpInTypeNPTypeCodeAccTypeNPTypeCode
Properties
AccType
public NPTypeCode AccType { get; init; }
Property Value
InType
public NPTypeCode InType { get; init; }
Property Value
Op
public ReductionOp Op { get; init; }