Skip to content
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

Removing code that explicitly compares equality of rmm memory resources #2047

Merged
merged 14 commits into from
Dec 9, 2023

Conversation

cjnolet
Copy link
Member

@cjnolet cjnolet commented Dec 7, 2023

No description provided.

@cjnolet cjnolet added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Dec 7, 2023
@cjnolet cjnolet self-assigned this Dec 7, 2023
@cjnolet cjnolet requested a review from a team as a code owner December 7, 2023 01:26
@github-actions github-actions bot added the cpp label Dec 7, 2023
… only be using workspace resource and current device resource internally to the code
@@ -1634,7 +1617,7 @@ void extend(raft::resources const& handle,
}
if (size_factor * max_batch_size > free_mem) {
// if that still doesn't fit, resort to the UVM
batches_mr = &managed_memory;
batches_mr = device_memory;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This if-else now feels a little redundant, doesn't it?

@cjnolet
Copy link
Member Author

cjnolet commented Dec 9, 2023

/merge

@rapids-bot rapids-bot bot merged commit addb059 into rapidsai:branch-24.02 Dec 9, 2023
61 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cpp improvement Improvement / enhancement to an existing function non-breaking Non-breaking change
Projects
Development

Successfully merging this pull request may close these issues.

2 participants