tiny.simd.isDescriptorAligned
Defined in aligned.
Source
Source: lib/simd/src/aligned.zig:43
zig
pub fn isDescriptorAligned(comptime D: type, pointer: anytype) bool { const Child = switch (@typeInfo(@TypeOf(pointer))) { .pointer => |info| info.child, else => @compileError("descriptor alignment requires a pointer"), }; return isAlignedTo(pointer, D.lane_count * @sizeOf(Child));}Source: lib/simd/src/root.zig:248
zig
pub const isDescriptorAligned = aligned.isDescriptorAligned;Audit
| Definitions | 1 |
|---|---|
| Public names | 2 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |