2 unstable releases

0.11.0 Jul 5, 2024
0.10.0 May 25, 2024

#485 in Hardware support

Download history 184/week @ 2024-05-20 169/week @ 2024-05-27 108/week @ 2024-06-03 89/week @ 2024-06-10 105/week @ 2024-06-17 104/week @ 2024-06-24 224/week @ 2024-07-01 189/week @ 2024-07-08 214/week @ 2024-07-15

739 downloads per month
Used in 7 crates (2 directly)

MIT/Apache

53KB
1.5K SLoC

Portable SIMD types for implementing vectorized functions that work across different architectures.

Compared to std::simd it offers the following benefits:

  • Works on stable Rust
  • Includes infrastructure for dispatching vectorized operations using the optimal instruction set as determined at runtime.
  • Includes higher order functions for vectorized maps, folds etc.

Supported architectures

SIMD wrappers are provided for the following architectures:

  • Arm Neon
  • AVX 2 / FMA
  • AVX-512 (requires avx512 feature and nightly Rust)
  • WebAssembly SIMD

There is also a scalar fallback that works on all platforms, but provides no performance benefit over non-SIMD code.

No runtime deps

Features