forked from rapidsai/raft
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve RBC eps-neighborhood query performance (rapidsai#2211)
This PR significantly improves performance of epsilon neighborhood search via RBC. Scope: * the rbc index was modified to contain a reordered dataset allowing for better access patterns * all kernels for dense, sparse and hybrid have been improved Optimizations include: - improve pruning of complete landmarks by pre-fetching distances and minimizing overhead for skipping - specialized 2D and 3D kernels, allowing for register per-fetch of query points - improve inner loop iterating landmark neighborhood - pruning of points within selected landmark neighborhood using triangle inequality - reverse iterate landmark neighborhood to allow complete processing stop once subsequent points cannot be reached - removal of shared memory atomics in favor of warp voting - general prevention of branches within a warp (at least to some extent) CC @cjnolet , @tfeher Authors: - Malte Förster (https://github.com/mfoerste4) Approvers: - Tamas Bela Feher (https://github.com/tfeher) URL: rapidsai#2211
- Loading branch information
Showing
8 changed files
with
631 additions
and
223 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.