4 releases (2 breaking)

0.14.1 Nov 16, 2024
0.14.0 Oct 27, 2024
0.11.0 Jul 5, 2024
0.10.0 May 25, 2024

#318 in Machine learning

Download history 230/week @ 2024-08-19 212/week @ 2024-08-26 230/week @ 2024-09-02 328/week @ 2024-09-09 261/week @ 2024-09-16 273/week @ 2024-09-23 268/week @ 2024-09-30 140/week @ 2024-10-07 382/week @ 2024-10-14 379/week @ 2024-10-21 486/week @ 2024-10-28 406/week @ 2024-11-04 489/week @ 2024-11-11 630/week @ 2024-11-18 566/week @ 2024-11-25 527/week @ 2024-12-02

2,234 downloads per month
Used in 9 crates (2 directly)

MIT/Apache

56KB
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