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

Use RMM adaptor constructor rather than factory function #4572

Closed

Conversation

harrism
Copy link
Member

@harrism harrism commented Jul 31, 2024

RMM will be deprecating and removing its adaptor factory functions (make_*_adaptor). These were needed prior to C++17 due to the lack of CTAD, but since C++17 is our minimum supported version, we can drop them now. Users can simply call the constructor for the adaptors.

This PR replaces calls to make_stream_allocator_adaptor() with stream_allocator_adaptor ahead of the deprecation of these functions in RMM 24.10.

@harrism harrism requested a review from a team as a code owner July 31, 2024 01:29
@harrism harrism added non-breaking Non-breaking change feature request New feature or request labels Jul 31, 2024
@bdice
Copy link
Contributor

bdice commented Jul 31, 2024

Duplicate of #4557. I merged the change to add <cstddef> into my PR, so they should be identical now.

@bdice bdice closed this Jul 31, 2024
@harrism
Copy link
Member Author

harrism commented Jul 31, 2024

My bad!

@harrism harrism deleted the fea-remove-adaptor-factories branch August 1, 2024 00:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cuGraph feature request New feature or request non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants