[Feature] Add NN-descent support for the KNN graph function in dgl (#2941)
* add bruteforce impl
* add nn descent implementation
* change doc-string
* remove redundant func
* use local rng for cuda
* fix lint
* fix lint
* fix bug
* fix bug
* wrap nndescent_knn_graph into knn
* fix lint
* change function names
* add comment for dist funcs
* let the compiler do the unrolling
* use better blocksize setting
* remove redundant line
* check the return of the cub calls
Co-authored-by:
Tong He <hetong007@gmail.com>
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment