6 releases (3 breaking)

new 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

#311 in Machine learning

Download history 272/week @ 2024-09-21 268/week @ 2024-09-28 160/week @ 2024-10-05 302/week @ 2024-10-12 338/week @ 2024-10-19 522/week @ 2024-10-26 446/week @ 2024-11-02 389/week @ 2024-11-09 676/week @ 2024-11-16 592/week @ 2024-11-23 531/week @ 2024-11-30 551/week @ 2024-12-07 527/week @ 2024-12-14 264/week @ 2024-12-21 427/week @ 2024-12-28 510/week @ 2025-01-04

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