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

Add CUDA async memory resource as an option #3447

Merged
merged 2 commits into from
Sep 14, 2021

Conversation

rongou
Copy link
Collaborator

@rongou rongou commented Sep 10, 2021

This only adds an option to set the gpu memory pool to use RMM cuda_async_memory_resource. Additional work needs to be done to support UCX (e.g. openucx/ucx#7204) and possibly GDS.

Depends on rapidsai/cudf#9201.

Signed-off-by: Rong Ou rong.ou@gmail.com

Signed-off-by: Rong Ou <rong.ou@gmail.com>
@rongou rongou added feature request New feature or request performance A performance related task/issue shuffle things that impact the shuffle plugin labels Sep 10, 2021
@rongou rongou requested review from jlowe and abellina September 10, 2021 18:37
@rongou rongou self-assigned this Sep 10, 2021
abellina
abellina previously approved these changes Sep 10, 2021
@jlowe jlowe added the cudf_dependency An issue or PR with this label depends on a new feature in cudf label Sep 10, 2021
"as \"DEFAULT\" is known to be unstable (https://github.com/NVIDIA/spark-rapids/issues/1141)")
.doc("Select the RMM pooling allocator to use. Valid values are \"DEFAULT\", \"ARENA\", " +
"\"ASYNC\", and \"NONE\". With \"DEFAULT\", `rmm::mr::pool_memory_resource` is used; with " +
"\"ARENA\", `rmm::mr::arena_memory_resource` is used; with \"ASYNC\", " +
Copy link
Member

Choose a reason for hiding this comment

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

This doc is intended for end-users, and I think rmm::mr::arena_memory_resource is too much detail here. I suggest simplifying this to say it uses the new CUDA stream-ordered memory allocator in CUDA 11.2+.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done.

Signed-off-by: Rong Ou <rong.ou@gmail.com>
@sameerz
Copy link
Collaborator

sameerz commented Sep 11, 2021

build

@sameerz sameerz added this to the Sep 13 - Sep 24 milestone Sep 11, 2021
@rongou
Copy link
Collaborator Author

rongou commented Sep 14, 2021

build

1 similar comment
@rongou
Copy link
Collaborator Author

rongou commented Sep 14, 2021

build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cudf_dependency An issue or PR with this label depends on a new feature in cudf feature request New feature or request performance A performance related task/issue shuffle things that impact the shuffle plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants