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

#302 in Machine learning

Download history 476/week @ 2024-11-01 382/week @ 2024-11-08 564/week @ 2024-11-15 668/week @ 2024-11-22 533/week @ 2024-11-29 552/week @ 2024-12-06 539/week @ 2024-12-13 294/week @ 2024-12-20 404/week @ 2024-12-27 513/week @ 2025-01-03 488/week @ 2025-01-10 454/week @ 2025-01-17 401/week @ 2025-01-24 406/week @ 2025-01-31 564/week @ 2025-02-07 246/week @ 2025-02-14

1,689 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