Skip to main content

available_backends

Function available_backends 

Source
pub fn available_backends() -> Vec<SimdBackend>
Expand description

Return all SIMD backends supported by the current CPU.

Always includes SimdBackend::Scalar. On x86/x86_64, includes SSE2 and/or AVX2+FMA depending on what the CPU reports. On aarch64, includes NEON. Useful for testing every backend, not just the fastest one.