Expand description
SIMD (Single Instruction Multiple Data) optimizations
Provides vectorized operations for 2-8x performance improvements on supported CPUs. Automatically detects CPU features and falls back to scalar implementations when needed.
Structs§
- Simd
Features - CPU feature detection for SIMD support
Enums§
- Simd
Level - SIMD instruction set level
Functions§
- add_f32
- Vectorized element-wise addition
- dot_
product_ f32 - Vectorized dot product (f32)
- relu_
f32 - Vectorized ReLU activation
- simd_
features - Get global SIMD features (cached detection)