Expand description
Runtime SIMD dispatch for vector distance and bitmap operations.
Re-exports§
pub use runtime::SimdRuntime;pub use runtime::runtime;
Modules§
- bbq
- BBQ rerank kernels: L2 from the exact centred query to a 1-bit-encoded
candidate.
centeredis the centred query as packed little-endian f32 bytes (dim * 4),packedthe candidate’s sign bits (dim.div_ceil(8), MSB-first per byte),residual_normthe candidate’s stored corrective factor. - hamming
- Fast Hamming distance using u64 POPCNT.
- runtime
- Runtime SIMD detection and dispatch table.
- scalar
- Scalar fallback kernels for L2, cosine, and inner product.