



RTNN is a research prototype system and codebase that accelerates high-dimensional nearest neighbor search using hardware ray tracing units on modern GPUs. It targets vector similarity search workloads common in AI applications, exploring ray-tracing hardware as an alternative acceleration path to traditional CPU- or CUDA-based ANN indexes.
RTNN is a research prototype system and codebase that accelerates neighbor search by mapping it onto Nvidia GPU hardware ray tracing units (RT cores). It focuses on low-dimensional spaces (≤3D), as commonly found in engineering and scientific simulations (e.g., particles, surface samples in CFD, graphics, and vision). The implementation is primarily based on the OptiX ray tracing API with CUDA used for parallel helper routines.
r for both range and KNN searches.K for both KNN and range searches.r.K.include/ – OptiX headers (copied from OptiX SDK 7.1.0, unmodified).src/ – Source code for RTNN implementation.r even in KNN:
K even in range search:
LICENSE file in the repository).Loading more......