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

Return boolean from config_host_memory_resource instead of throwing #15815

Conversation

abellina
Copy link
Contributor

@abellina abellina commented May 22, 2024

Closes #15814

This adds a boolean return value from cudf::io::config_host_memory_resource to allow the caller to handle the case where the memory resource has already been configured in the past. Before this the function would throw, forcing callers to try/catch.

Copy link

copy-pr-bot bot commented May 22, 2024

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@github-actions github-actions bot added libcudf Affects libcudf (C++/CUDA) code. Java Affects Java cuDF API. labels May 22, 2024
@abellina abellina added bug Something isn't working non-breaking Non-breaking change labels May 22, 2024
@abellina abellina self-assigned this May 22, 2024
@abellina
Copy link
Contributor Author

/ok to test

@abellina abellina marked this pull request as ready for review May 22, 2024 16:29
@abellina abellina requested review from a team as code owners May 22, 2024 16:29
@abellina abellina changed the title Pass default host pool parameters as part of set and get Return boolean from config_host_memory_resource instead of throwing May 22, 2024
@abellina
Copy link
Contributor Author

/ok to test

@abellina
Copy link
Contributor Author

/ok to test

@vuule vuule added the 4 - Needs Review Waiting for reviewer to review or respond label May 22, 2024
@abellina
Copy link
Contributor Author

/ok to test

@abellina
Copy link
Contributor Author

/merge

@rapids-bot rapids-bot bot merged commit 1710e11 into rapidsai:branch-24.06 May 23, 2024
75 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4 - Needs Review Waiting for reviewer to review or respond bug Something isn't working Java Affects Java cuDF API. libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] stop throwing when configuring default host mr
4 participants