tiny.simd.scatterIndex
Defined in indexed.
Source
Source: lib/simd/src/indexed.zig:3
zig
pub fn scatterIndex( comptime D: type, value: D.Vector, base: []D.Lane, indices: anytype,) void { validateIndices(D, @TypeOf(indices)); inline for (0..D.lane_count) |lane_index| { const destination = checkedIndex(indices[lane_index]); std.debug.assert(destination < base.len); base[destination] = value[lane_index]; }}Source: lib/simd/src/root.zig:268
zig
pub const scatterIndex = indexed.scatterIndex;Audit
| Definitions | 1 |
|---|---|
| Public names | 2 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |