https://hgpu.org/?p=8525
Parallel Search of k-Nearest Neighbors with Synchronous Operations