7 releases (4 breaking)

0.16.0 Feb 8, 2025
0.15.1 Jan 6, 2025
0.15.0 Dec 28, 2024
0.14.1 Nov 16, 2024
0.10.0 May 25, 2024

#291 in Machine learning

Download history 479/week @ 2024-10-30 405/week @ 2024-11-06 553/week @ 2024-11-13 661/week @ 2024-11-20 494/week @ 2024-11-27 509/week @ 2024-12-04 577/week @ 2024-12-11 429/week @ 2024-12-18 386/week @ 2024-12-25 421/week @ 2025-01-01 483/week @ 2025-01-08 493/week @ 2025-01-15 431/week @ 2025-01-22 350/week @ 2025-01-29 620/week @ 2025-02-05 350/week @ 2025-02-12

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

MIT/Apache

86KB
2K 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