Table of Contents

Delegate ElementCopyKernel

Namespace
NumSharp.Backends.Kernels
Assembly
NumSharp.dll

An IL-emitted copy of opaque fixed-width elements over a 2-D grid of byte strides: for every (r, c), the destination element at dst + r * dstRowStride + c * dstColStride receives the kernel's COPY bytes from src + r * srcRowStride + c * srcColStride, followed by ZERO NUL bytes.

public delegate void ElementCopyKernel(byte* dst, byte* src, long rows, long cols, long dstRowStride, long dstColStride, long srcRowStride, long srcColStride)

Parameters

dst byte*

The first destination element.

src byte*

The first source element.

rows long

The outer extent.

cols long

The inner extent.

dstRowStride long

The destination's outer stride in bytes.

dstColStride long

The destination's inner stride in bytes.

srcRowStride long

The source's outer stride in bytes (0 = broadcast).

srcColStride long

The source's inner stride in bytes (0 = broadcast).