Expand description
Kernel dispatch for pure Rust SIMD implementations.
Provides wrappers around optimized Rust SIMD kernels from the simd module.
Uses runtime CPU detection to select optimal code path.
§Migration from C++ FFI
This module previously used C++ SIMD kernels via FFI. It has been migrated
to pure Rust implementations in the simd module, providing:
- Unified toolchain (no C++ compiler needed)
- Cross-function inlining
- Better error messages and debugging
cargo mirisupport for undefined behavior detection
Re-exports§
pub use crate::simd::dispatch::CpuFeatures;pub use crate::simd::dispatch::SimdLevel;
Structs§
- BpsScan
Dispatcher - BPS scan dispatcher - uses pure Rust SIMD implementations.
- DotI8
Dispatcher - int8 dot product dispatcher - uses pure Rust SIMD implementations.
- Visibility
Dispatcher - SIMD-accelerated batch visibility checking for MVCC snapshots.
Functions§
- cpu_
features - Get detected CPU features (cached)
- dispatch_
info - Get dispatch info for debugging (runtime detection).
- simd_
available - Check if SIMD kernels are available (runtime detection).
- simd_
level - Get best available SIMD level