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

Enable shallow copy of handle_t's resources with different workspace_resource #1165

Merged
merged 5 commits into from
Jan 25, 2023

Conversation

cjnolet
Copy link
Member

@cjnolet cjnolet commented Jan 24, 2023

This effectively affords users the flexibility to shallow copy a handle and it's underlying vectors and change out only the workspace_resource so that they can, for example, configure multiple different pools or managed pools for workspace resources.

cc @Nyrio RE: hierarchical k-means API.

@cjnolet cjnolet added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Jan 24, 2023
@cjnolet cjnolet self-assigned this Jan 24, 2023
@github-actions github-actions bot added the cpp label Jan 24, 2023
@cjnolet cjnolet changed the title Enable shallow copy of handle_t's resource pointers with different workspace_resource Enable shallow copy of handle_t's resources with different workspace_resource Jan 24, 2023
@cjnolet cjnolet marked this pull request as ready for review January 24, 2023 00:59
@cjnolet cjnolet requested a review from a team as a code owner January 24, 2023 00:59
@cjnolet cjnolet mentioned this pull request Jan 24, 2023
Copy link
Member

@divyegala divyegala left a comment

Choose a reason for hiding this comment

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

Pre-approving, just a suggestion for the tests

cpp/test/core/handle.cpp Outdated Show resolved Hide resolved
@cjnolet
Copy link
Member Author

cjnolet commented Jan 25, 2023

/merge

@rapids-bot rapids-bot bot merged commit 7c12b1e into rapidsai:branch-23.02 Jan 25, 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.

2 participants