tiny.simd.scatterOffset
Defined in indexed.
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
| Definitions | 1 |
|---|---|
| Public names | 2 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |