Table of Contents

Delegate FilterAxisKernel

Namespace
NumSharp.Backends.Kernels
Assembly
NumSharp.dll

IL-emitted fused mask-driven gather. Reads src at each True position in mask and emits one slab per outer block into dst. The runtime innerSize is honoured by the "bulk" variant; the typed variants (1/2/4/8/16-byte) ignore it (the size is baked into IL).

public delegate long FilterAxisKernel(byte* src, byte* mask, long maskSize, long outerSize, long srcOuterStride, long dstOuterStride, long innerSize, byte* dst)

Parameters

src byte*
IL-emitted fused mask-driven gather. Reads src at each True position in mask and emits one slab per outer block into dst. The runtime innerSize is honoured by the "bulk" variant; the typed variants (1/2/4/8/16-byte) ignore it (the size is baked into IL).
mask byte*
IL-emitted fused mask-driven gather. Reads src at each True position in mask and emits one slab per outer block into dst. The runtime innerSize is honoured by the "bulk" variant; the typed variants (1/2/4/8/16-byte) ignore it (the size is baked into IL).
maskSize long
IL-emitted fused mask-driven gather. Reads src at each True position in mask and emits one slab per outer block into dst. The runtime innerSize is honoured by the "bulk" variant; the typed variants (1/2/4/8/16-byte) ignore it (the size is baked into IL).
outerSize long
IL-emitted fused mask-driven gather. Reads src at each True position in mask and emits one slab per outer block into dst. The runtime innerSize is honoured by the "bulk" variant; the typed variants (1/2/4/8/16-byte) ignore it (the size is baked into IL).
srcOuterStride long
IL-emitted fused mask-driven gather. Reads src at each True position in mask and emits one slab per outer block into dst. The runtime innerSize is honoured by the "bulk" variant; the typed variants (1/2/4/8/16-byte) ignore it (the size is baked into IL).
dstOuterStride long
IL-emitted fused mask-driven gather. Reads src at each True position in mask and emits one slab per outer block into dst. The runtime innerSize is honoured by the "bulk" variant; the typed variants (1/2/4/8/16-byte) ignore it (the size is baked into IL).
innerSize long
IL-emitted fused mask-driven gather. Reads src at each True position in mask and emits one slab per outer block into dst. The runtime innerSize is honoured by the "bulk" variant; the typed variants (1/2/4/8/16-byte) ignore it (the size is baked into IL).
dst byte*
IL-emitted fused mask-driven gather. Reads src at each True position in mask and emits one slab per outer block into dst. The runtime innerSize is honoured by the "bulk" variant; the typed variants (1/2/4/8/16-byte) ignore it (the size is baked into IL).

Returns

long
IL-emitted fused mask-driven gather. Reads src at each True position in mask and emits one slab per outer block into dst. The runtime innerSize is honoured by the "bulk" variant; the typed variants (1/2/4/8/16-byte) ignore it (the size is baked into IL).
Extension Methods