KNN-CUDAvsCPU Utils to read .fvec and .ivec: https://github.com/matsui528/pqtable/tree/master/src Dataset, query and groundtruth(ANN_SIFT10K, ANN_SIFT1M): http://corpus-texmex.irisa.fr/ Thanks to @chrischoy for cuInsertionSort function