Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use slicing kernel to copy distances inside NN Descent (#2380)
This make use of raft's slicing kernel within NN Descent build. I found that my previous implementation was inefficient (merged in [this PR](#2345)). ### Improvements Time to call NN Descent `build()` with `return_distances=True` before and after using this kernel | Dataset | Before |After| | ------------- | ------------- |---| | mnist (60000, 784) | 1550ms | 1020ms| | sift (1M, 128) | 11342ms |5546ms| | gist (1M, 960) | 13508ms |9278ms| Authors: - Jinsol Park (https://github.com/jinsolp) Approvers: - Corey J. Nolet (https://github.com/cjnolet) - Micka (https://github.com/lowener) URL: #2380
- Loading branch information