iqdb-distance 0.5.0

SIMD-accelerated distance and similarity functions for vector search - part of the iQDB family.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! SIMD kernels for the supported target architectures.
//!
//! At v0.1 the SIMD module is a scaffold: it owns the per-arch namespaces
//! and the runtime-dispatch seam that the per-metric implementations call
//! into, but the actual AVX2 and NEON kernels are stitched in during the
//! SIMD pass (see `.dev/ROADMAP.md`). Until that lands the dispatch in
//! [`crate::metrics`] always falls through to the scalar reference, and the
//! `CpuFeatures::avx2` / `CpuFeatures::neon` flags are read but not yet
//! acted on.

#[cfg(target_arch = "x86_64")]
pub(crate) mod avx2;

#[cfg(target_arch = "aarch64")]
pub(crate) mod neon;