simd_kernels/
lib.rs

1// Copyright Peter Bower 2025. All Rights Reserved.
2// Licensed under the Mozilla Public License (MPL) 2.0.
3// See LICENSE for details.
4
5// At the time of writing this unlocks extra std::simd that the developers
6// intend on stabilising but haven't yet.
7// This includes custom lane management abstractions, and related features.
8#![feature(portable_simd)]
9#![feature(float_erf)]
10
11// compile with RUSTFLAGS="-C target-cpu=native" cargo +nightly build --features portable_simd
12
13pub mod operators;
14
15// The bitmask, arithmetic and string kernels are contained in the upstream `Minarrow` crate,
16// and are available in the namespace.
17
18pub mod kernels {
19    pub mod aggregate;
20    pub mod binary;
21    pub mod comparison;
22    pub mod conditional;
23    pub mod logical;
24    pub mod sort;
25    pub mod unary;
26    pub mod window;
27    pub mod scientific {
28        #[cfg(feature = "linear_algebra")]
29        pub mod blas_lapack;
30        #[cfg(feature = "probability_distributions")]
31        pub mod distributions;
32        #[cfg(feature = "probability_distributions")]
33        pub mod erf;
34        #[cfg(feature = "fourier_transforms")]
35        pub mod fft;
36        #[cfg(feature = "linear_algebra")]
37        pub mod matrix;
38        #[cfg(feature = "universal_functions")]
39        pub mod scalar;
40        #[cfg(feature = "linear_algebra")]
41        pub mod vector;
42    }
43}
44
45pub mod traits {
46    pub mod dense_iter;
47    pub mod to_bits;
48}
49
50pub mod config;
51
52pub mod utils;