-
Notifications
You must be signed in to change notification settings - Fork 544
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
[REVIEW] Remove RAFT memory management #4468
[REVIEW] Remove RAFT memory management #4468
Conversation
rerun tests |
rerun tests |
Codecov Report
@@ Coverage Diff @@
## branch-22.02 #4468 +/- ##
===============================================
Coverage ? 85.75%
===============================================
Files ? 236
Lines ? 19310
Branches ? 0
===============================================
Hits ? 16560
Misses ? 2750
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review 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.
Changes look great. Just one small gripe (which isn't the result of these changes and doesn't need to be fixed in this PR).
@@ -337,8 +338,8 @@ int main(int argc, char* argv[]) | |||
|
|||
/* ======================= Reset data ======================= */ | |||
|
|||
raft::deallocate(d_finalprogs, stream); | |||
curr_mr->deallocate(d_finalprogs, params.population_size, stream); |
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.
Not completely in love with this one because it bypasses the safety of the container / buffer
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 review! From what I remember, I believe I couldn't use the rmm::device_uvector
because the type isn't trivially copyable.
@gpucibot merge |
Completes rapidsai/raft#400 Authors: - Victor Lafargue (https://github.com/viclafargue) Approvers: - Corey J. Nolet (https://github.com/cjnolet) URL: rapidsai#4468
Completes rapidsai/raft#400