Table of Contents

Delegate SimpleReductionKernel<T>

Namespace
NumSharp.Backends.Kernels
Assembly
NumSharp.dll

Simple contiguous reduction kernel returning single value. Used for full-array reductions when input is contiguous.

public delegate T SimpleReductionKernel<T>(T* input, int count) where T : unmanaged

Parameters

input T*

Pointer to contiguous input data

count int

Number of elements

Returns

T

Reduced value

Type Parameters

T

Element type

Extension Methods