-
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
matrix::select_k: move selection and warp-sort primitives #1085
Conversation
2e46750
to
451f232
Compare
451f232
to
fb88433
Compare
rerun tests |
Note, this PR does not add any template specialization at this point. There are two reasons for this: (1) it's not clear to which component the specializations would belong, (2) the impact on the compile times needs to be investigated more thoroughly. |
…void propagating the change to call sites
Codecov ReportBase: 87.99% // Head: 87.99% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## branch-23.02 #1085 +/- ##
=============================================
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 for the changes and discussions thus far. I think this is almost ready. Mostly minor things at this point.
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.
I think we can continue the discussion to move code shared by test and bench in follow-ons in 23.04. I think this looks great for now!
/merge |
Refactor and move a set of implementations for batch-selecting top K largest/smallest values:
bitonic_sort.cuh
to the publicraft::util
namespace, add tests.matrix::select_k
interface.raft::spatial::knn::select_k
interface.select_k
tests.select_k
benchmarks.select_warpsort.cuh
to enable more implementations.Closes #853