Overview

XVector is a high-performance vector search library for XCENA’s Computational Memory (MX1). It offloads compute-intensive approximate nearest neighbor (ANN) search to the device, delivering high throughput for large-scale vector workloads.

Key Features

  • Device-accelerated search – Runs ANN search on MX1 via PXL runtime
  • Faiss drop-in replacement – Swap to XFaiss to accelerate search on MX1 with existing .faiss index files

Supported Algorithms

Algorithm Description Use Case
IVF-Flat Inverted file index with exact distance computation Best accuracy within IVF family
IVF-RaBitQ Inverted file index with randomized binary quantization, 1 to 9 bits per dimension Ultra-compact, fast approximate search; extra bits buy accuracy per byte stored
HNSW-Flat [experimental] Graph-based (Hierarchical Navigable Small World) index with exact distance computation High-throughput approximate search with a tunable accuracy/speed trade-off (efSearch)
KNN Exact (Flat) Brute-force exact nearest neighbor search 100% recall ground-truth and small-to-medium datasets

XVector builds on XArith, the device-side compute library that provides the VPE vector primitives. You normally interact only with XVector; reach for XArith directly only when writing your own device kernels.

See Getting Started to install the suite and run your first search.

For search options and result formats, see the XVector API Reference. For performance tuning, see the Benchmark Reference.