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

Adding workspace resource #1137

Merged

Conversation

cjnolet
Copy link
Member

@cjnolet cjnolet commented Jan 11, 2023

This will default to rmm::mr::get_current_device_resource() in the event no explicit workspace resource has been set. It's using raw pointers right now, but that may be okay as the RMM memory resource API seems to promote that over shared pointers (or any dereferencing at all).

@cjnolet cjnolet added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Jan 11, 2023
@cjnolet cjnolet self-assigned this Jan 11, 2023
@github-actions github-actions bot added the cpp label Jan 11, 2023
@cjnolet cjnolet marked this pull request as ready for review January 11, 2023 18:48
@cjnolet cjnolet requested a review from a team as a code owner January 11, 2023 18:48
@cjnolet
Copy link
Member Author

cjnolet commented Jan 11, 2023

cc @achirkin @Nyrio @tfeher

@codecov-commenter
Copy link

codecov-commenter commented Jan 11, 2023

Codecov Report

Base: 87.99% // Head: 87.99% // No change to project coverage 👍

Coverage data is based on head (19c1487) compared to base (bbe0755).
Patch has no changes to coverable lines.

Additional details and impacted files
@@              Coverage Diff              @@
##           branch-23.02    #1137   +/-   ##
=============================================
  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.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Member

@benfred benfred left a comment

Choose a reason for hiding this comment

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

looks good!

@cjnolet
Copy link
Member Author

cjnolet commented Jan 13, 2023

/merge

@rapids-bot rapids-bot bot merged commit 3f3a59e into rapidsai:branch-23.02 Jan 13, 2023
@tfeher tfeher mentioned this pull request Mar 1, 2023
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.

3 participants