Skip to main content

Module detect

Module detect 

Source
Expand description

Runtime SIMD capability detection

This module provides runtime detection of available SIMD instruction sets. On x86-64, it uses is_x86_feature_detected! to probe CPU features. On aarch64, NEON is always available.

Structs§

SimdCapabilities
Runtime SIMD capabilities for the current CPU

Enums§

SimdLevel
Available SIMD instruction set levels

Functions§

best_level
Get the best available SIMD level for the current CPU
capabilities
Get the cached SIMD capabilities for the current CPU
is_available
Check if a specific SIMD level is available