Table of Contents

Delegate DirectILKernelGenerator.StridedCastKernel

Namespace
NumSharp.Backends.Kernels
Assembly
NumSharp.dll

Cross-dtype strided/broadcast copy kernel.

public delegate void DirectILKernelGenerator.StridedCastKernel(void* src, void* dst, long* srcStrides, long* dstStrides, long* shape, int ndim)

Parameters

src void*

Source base pointer (already offset by Shape.offset).

dst void*

Destination base pointer.

srcStrides long*

Source strides in elements (length = ndim).

dstStrides long*

Destination strides in elements (length = ndim).

shape long*

Shape in elements (length = ndim).

ndim int

Number of dimensions; coalesced when possible by NDIter.

Extension Methods