Delegate WhereBytesStepKernel
An IL-emitted element select for opaque elements of a fixed byte width whose INPUTS each advance by their own byte
step: result[i] = cond[i·condStep] ? x[i·xStep] : y[i·yStep] over count elements written
contiguously. A step of 0 broadcasts a one-element operand; a negative step walks a reversed view.
public delegate void WhereBytesStepKernel(bool* cond, long condStep, byte* x, long xStep, byte* y, long yStep, byte* result, long count)
Parameters
condbool*The condition's first element, one byte per element (0 = false, anything else = true).
condSteplongThe byte step between condition elements (0, 1, or a 1-D view's stride).
xbyte*The first value where the condition holds.
xSteplongThe byte step between
xelements (0, the width, or a 1-D view's stride).ybyte*The first value elsewhere.
ySteplongThe byte step between
yelements.resultbyte*The contiguous destination (must not overlap
xory).countlongThe number of elements.