tiny.simd.findLastTrue
Defined in compare.
Returns the highest true lane, or -1 when no lane is true, by a maximum reduction over the selected lane indices.
Source
Source: lib/simd/src/compare.zig:180
zig
/// Returns the highest true lane, or -1 when no lane is true, by a maximum/// reduction over the selected lane indices.pub fn findLastTrue(comptime D: type, mask: D.Mask) isize { const index = std.simd.lastTrue(mask) orelse return -1; return @intCast(index);}Source: lib/simd/src/root.zig:719
zig
pub const findLastTrue = compare.findLastTrue;Audit
| Definitions | 1 |
|---|---|
| Public names | 2 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |