Delegate PutFlatKernel
Lean 1-D scatter: dst[indices[j]] = values[j mod valuesCount] (a wrapping values
cursor: valuesCount == 1 broadcasts a scalar, == count is a straight copy).
RAISE semantics as TakeFlatKernel; returns count or the
first failing position — elements before it HAVE been written.
public delegate long PutFlatKernel(byte* dst, void* indices, long count, byte* values, long valuesCount, long maxItem)
Parameters
dstbyte*- Lean 1-D scatter: dst[indices[j]] = values[j mod valuesCount] (a wrapping values cursor: valuesCount == 1 broadcasts a scalar, == count is a straight copy). RAISE semantics as ; returns count or the first failing position — elements before it HAVE been written.
indicesvoid*- Lean 1-D scatter: dst[indices[j]] = values[j mod valuesCount] (a wrapping values cursor: valuesCount == 1 broadcasts a scalar, == count is a straight copy). RAISE semantics as ; returns count or the first failing position — elements before it HAVE been written.
countlong- Lean 1-D scatter: dst[indices[j]] = values[j mod valuesCount] (a wrapping values cursor: valuesCount == 1 broadcasts a scalar, == count is a straight copy). RAISE semantics as ; returns count or the first failing position — elements before it HAVE been written.
valuesbyte*- Lean 1-D scatter: dst[indices[j]] = values[j mod valuesCount] (a wrapping values cursor: valuesCount == 1 broadcasts a scalar, == count is a straight copy). RAISE semantics as ; returns count or the first failing position — elements before it HAVE been written.
valuesCountlong- Lean 1-D scatter: dst[indices[j]] = values[j mod valuesCount] (a wrapping values cursor: valuesCount == 1 broadcasts a scalar, == count is a straight copy). RAISE semantics as ; returns count or the first failing position — elements before it HAVE been written.
maxItemlong- Lean 1-D scatter: dst[indices[j]] = values[j mod valuesCount] (a wrapping values cursor: valuesCount == 1 broadcasts a scalar, == count is a straight copy). RAISE semantics as ; returns count or the first failing position — elements before it HAVE been written.
Returns
- long
- Lean 1-D scatter: dst[indices[j]] = values[j mod valuesCount] (a wrapping values cursor: valuesCount == 1 broadcasts a scalar, == count is a straight copy). RAISE semantics as ; returns count or the first failing position — elements before it HAVE been written.