Skip to documentation
SLOP

tiny.simd.isDescriptorAligned

Reference tiny.simd isDescriptorAligned

Defined in aligned.

Called byCallstest sourcelib.simd.src.alignedtest: Highway descriptor alignment us...alignedisAlignedToalignedisDescriptorAligned
Static calls · unresolved targets: 0 · external targets: 0.

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

Definitions1
Public names2
Members0
Version26.7.0
Revisiondaab053ee433