Skip to main content

Module platform

Module platform 

Source
Expand description

Platform-specific SIMD configuration (compile-time constants)

Constants§

HAS_AVX2
Check if AVX2 is available at compile time
HAS_AVX512
Check if AVX-512 is available at compile time
HAS_NEON
Check if NEON is available at compile time

Functions§

lane_width_f32
Get the SIMD lane width for f32 operations
lane_width_f64
Get the SIMD lane width for f64 operations
lane_width_u8
Get the SIMD lane width for u8 operations
preferred_alignment
Get the preferred alignment for SIMD operations