tiny.simd.CappedTag
Defined in tag.
Source
Source: lib/simd/src/tag.zig:72
zig
pub fn CappedTag(comptime T: type, comptime limit: usize) type { validateLane(T); if (limit == 0) @compileError("capped SIMD vectors require a nonzero limit"); const native_lanes = suggestedLanes(T); const lanes = std.math.floorPowerOfTwo(usize, @min(limit, native_lanes)); return FixedTag(T, @max(1, lanes));}Source: lib/simd/src/root.zig:150
zig
pub const CappedTag = tag.CappedTag;Audit
| Definitions | 1 |
|---|---|
| Public names | 2 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |