6 releases (3 breaking)

0.15.1 Jan 6, 2025
0.15.0 Dec 28, 2024
0.14.1 Nov 16, 2024
0.14.0 Oct 27, 2024
0.10.0 May 25, 2024

#302 in Machine learning

Download history 158/week @ 2024-10-08 394/week @ 2024-10-15 418/week @ 2024-10-22 478/week @ 2024-10-29 401/week @ 2024-11-05 541/week @ 2024-11-12 659/week @ 2024-11-19 508/week @ 2024-11-26 505/week @ 2024-12-03 561/week @ 2024-12-10 485/week @ 2024-12-17 393/week @ 2024-12-24 344/week @ 2024-12-31 548/week @ 2025-01-07 465/week @ 2025-01-14 352/week @ 2025-01-21

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

MIT/Apache

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