Skip to documentation
SLOP

tiny.simd.scatterOffset

Reference tiny.simd scatterOffset

Defined in indexed.

Called byCallstest sourcelib.simd.src.indexedtest: Highway masked and byte-offset ...private sourcelib.simd.src.indexedoffsetIndexprivate sourcelib.simd.src.indexedvalidateIndicesindexedscatterOffset
Static calls · unresolved targets: 0 · external targets: 0.

Source

Source: lib/simd/src/indexed.zig:52

zig
pub fn scatterOffset(    comptime D: type,    value: D.Vector,    base: []D.Lane,    offsets: anytype,) void {    validateIndices(D, @TypeOf(offsets));    inline for (0..D.lane_count) |lane_index| {        const destination = offsetIndex(D.Lane, offsets[lane_index]);        std.debug.assert(destination < base.len);        base[destination] = value[lane_index];    }}

Source: lib/simd/src/root.zig:267

zig
pub const scatterOffset = indexed.scatterOffset;

Audit

Definitions1
Public names2
Members0
Version26.7.0
Revisiondaab053ee433