2 unstable releases

0.11.0 Jul 5, 2024
0.10.0 May 25, 2024

#284 in Machine learning

Download history 88/week @ 2024-06-07 116/week @ 2024-06-14 101/week @ 2024-06-21 101/week @ 2024-06-28 286/week @ 2024-07-05 197/week @ 2024-07-12 195/week @ 2024-07-19 202/week @ 2024-07-26 247/week @ 2024-08-02 216/week @ 2024-08-09 219/week @ 2024-08-16 200/week @ 2024-08-23 250/week @ 2024-08-30 286/week @ 2024-09-06 296/week @ 2024-09-13 271/week @ 2024-09-20

1,130 downloads per month
Used in 8 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