There are 2 repositories under nearest-neighbors-search topic.
Article: GPU-accelerated Proximity Graph Approximate Nearest Neighbor Search and Construction by Authors Yuanhang Yu, Dong Wen, Ying Zhang, Lu Qin, Wenjie Zhang and Xuemin Lin
Nearest Neighbours library for 1D vectors using nalgebra