detect_neon

Function detect_neon 

Source
pub fn detect_neon() -> bool
Expand description

Detect NEON SIMD support at runtime.

Returns true on ARM64 platforms with NEON support (most ARM64 CPUs). Returns false on all other platforms.

ยงExample

use edgevec::simd::detect_neon;

if detect_neon() {
    println!("NEON SIMD available!");
}