Skip to main content

detect

Function detect 

Source
pub fn detect() -> SimdLevel
Expand description

Detect the best SIMD level supported by the current CPU at runtime.

On x86_64 this queries CPUID; on aarch64 NEON is always present. All other architectures fall back to Scalar.