Skip to main content
Ctrl+K
AMD Logo
ROCm Data Science 26.03 Version List
  • GitHub
  • Community
  • Blogs
  • ROCm™ Docs
  • ROCm Developer Hub
  • Instinct™ Docs
  • Infinity Hub
  • Support

ROCm Data Science

hipVS 1.0.0 documentation

  • What is hipVS?

Installation

  • System requirements
  • Installing hipVS
  • Building hipVS

How to

  • Use hipVS

Reference

  • C++ API reference
    • Cluster
      • K-Means
      • Agglomerative
    • Interop
    • Distance
    • Nearest Neighbors
      • All-neighbors
      • Bruteforce
      • CAGRA
      • Dynamic Batching
      • Epsilon Neighborhood
      • Filtering
      • HNSW
      • IVF-Flat
      • IVF-PQ
      • NN-Descent
      • Refinement
      • Distributed ANN
      • Vamana
    • Preprocessing
      • Quantize
      • Spectral Embedding
    • Selection
    • Stats
  • Python API reference
    • Cluster
      • K-Means
    • Common
    • Distance
    • Nearest Neighbors
      • Brute Force KNN
      • CAGRA
      • HNSW
      • IVF-Flat
      • IVF-PQ
      • NN-Descent
      • All-neighbors KNN
      • Vamana
      • Multi-GPU Nearest Neighbors
        • Multi-GPU CAGRA
        • Multi-GPU IVF-Flat
        • Multi-GPU IVF-PQ
    • Preprocessing
  • C API reference
    • Core Routines
    • Nearest Neighbors
      • Bruteforce
      • IVF-Flat
      • IVF-PQ
      • CAGRA
      • HNSW
      • Multi-GPU Nearest Neighbors
      • All-Neighbors
      • Vamana
    • Pairwise Distance
  • Rust API reference

About

  • License
  • hipVS Python API documentation
  • Nearest Neighbors

Nearest Neighbors

Nearest Neighbors#

2026-03-06

2 min read time

Applies to Linux

Contents:

  • Brute Force KNN
    • Index
    • Index build
    • Index search
    • Index save
    • Index load
  • CAGRA
    • Index build parameters
    • Index search parameters
    • Index
    • Index build
    • Index search
    • Index save
    • Index load
  • HNSW
    • Index search parameters
    • Index
    • Index Conversion
    • Index search
    • Index save
    • Index load
  • IVF-Flat
    • Index build parameters
    • Index search parameters
    • Index
    • Index build
    • Index search
    • Index save
    • Index load
  • IVF-PQ
    • Index build parameters
    • Index search parameters
    • Index
    • Index build
    • Index search
    • Index save
    • Index load
  • NN-Descent
    • Index build parameters
    • Index
    • Index build
  • All-neighbors KNN
    • Parameters
    • Build
  • Vamana
    • Index build parameters
    • Index
    • Index build
    • Index save
  • Multi-GPU Nearest Neighbors
    • Overview
    • Important Notes
    • Configuration Options
    • Usage Examples
    • Algorithm-Specific Documentation

previous

Distance

next

Brute Force KNN

  • Terms and Conditions
  • Privacy
  • Trademarks
  • Supply Chain Transparency
  • Fair and Open Competition
  • UK Tax Strategy
  • Cookie Policy
  • Cookie Settings
© 2025 Advanced Micro Devices, Inc