Skip to content

Allocator takes no stream argument - #119

Merged
jrhemstad merged 2 commits into
NVIDIA:devfrom
PointKernel:allocator-without-stream
Dec 2, 2021
Merged

jrhemstad merged 2 commits into
NVIDIA:devfrom
PointKernel:allocator-without-stream

Conversation

@PointKernel

Copy link
Copy Markdown
Member

This PR fixes a bug when users pass an allocator taking no stream argument. It removes stream_ member variable in cuco::static_multimap since it's no longer required in ctor/dtor.

@jrhemstad

Copy link
Copy Markdown
Collaborator

Does libcudf need to be updated for this change?

@PointKernel

Copy link
Copy Markdown
Member Author

Does libcudf need to be updated for this change?

Yes, will make the cudf PR tomorrow.

@robertmaynard robertmaynard left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Changes look good to me

@PointKernel

Copy link
Copy Markdown
Member Author

@jrhemstad can you please review this PR whenever you have time?

@jrhemstad
jrhemstad merged commit 6433e8a into NVIDIA:dev Dec 2, 2021
rapids-bot Bot pushed a commit to NVIDIA/cudf that referenced this pull request Dec 6, 2021
Depends on NVIDIA/cuCollections#119

This PR replaces the default hash join allocator with the corresponding `rmm::mr::stream_allocator_adaptor`. It accommodates new `cuco::allocator` APIs that don't take stream as input argument.

Authors:
  - Yunsong Wang (https://github.com/PointKernel)

Approvers:
  - Karthikeyan (https://github.com/karthikeyann)
  - Mark Harris (https://github.com/harrism)

URL: #9704
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants