-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add L2SqrtExpanded support to ivf_flat ANN indices #1133
Conversation
Codecov ReportBase: 87.99% // Head: 87.99% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## branch-23.02 #1133 +/- ##
=============================================
Coverage 87.99% 87.99%
=============================================
Files 21 21
Lines 483 483
=============================================
Hits 425 425
Misses 58 58 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, couple of minor suggestions here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, LGTM!
@@ -591,9 +592,10 @@ class block_sort { | |||
} | |||
|
|||
/** Save the content by the pointer location. */ | |||
__device__ void store(T* out, IdxT* out_idx) const | |||
template <typename Lambda = raft::identity_op> | |||
__device__ void store(T* out, IdxT* out_idx, Lambda post_process = raft::identity_op()) const |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just for the record: I'm currently refactoring select_k in #1085 , so I'd need to catch up with these changes there. I'm also planning to change T
and IdxT
into OutT
and OutIdxT
to allow saving the results in a type different from the working types T
and IdxT
.
/merge |
This change was part of #1141 but was accidentally lost while merging conflicts with #1133 Authors: - Louis Sugy (https://github.com/Nyrio) Approvers: - Corey J. Nolet (https://github.com/cjnolet) URL: #1144
No description provided.