Skip to main content

detect_backend

Function detect_backend 

Source
pub fn detect_backend() -> SimdBackend
Expand description

Detect the best available SIMD backend for the current CPU.

Uses runtime feature detection on x86/x86_64 (cached atomically after first call via cpufeatures). On aarch64, NEON is always available. Falls back to scalar on unknown architectures.