Repository navigation
Fix nvbench handling of memory-resource objects - #22257
Merged
Merged
Conversation
bdice
approved these changes
Apr 22, 2026
bdice
left a comment
Contributor
There was a problem hiding this comment.
Thanks. I would appreciate if you can file an RMM issue with the gdb info you've collected so far. We will need a proper solution for this.
vyasr
approved these changes
Apr 23, 2026
vyasr
left a comment
Contributor
There was a problem hiding this comment.
Thanks! Bradley and I discussed and hopefully have a long term solution ready for rmm.
3 tasks done
3 tasks
rapids-bot Bot
pushed a commit
that referenced
this pull request
May 1, 2026
Follow on to #22257 to reset the memory resource used by gtests before exiting the `main()` of the process. This can help prevent a potential segfault and even if that is fixed can possibly prevent a memory leak making it easier to detect those in future debugging efforts. Authors: - David Wendt (https://github.com/davidwendt) Approvers: - Yunsong Wang (https://github.com/PointKernel) - Muhammad Haseeb (https://github.com/mhaseeb123) URL: #22267
vyasr
pushed a commit
to vyasr/cudf
that referenced
this pull request
May 4, 2026
…22267) Follow on to NVIDIA#22257 to reset the memory resource used by gtests before exiting the `main()` of the process. This can help prevent a potential segfault and even if that is fixed can possibly prevent a memory leak making it easier to detect those in future debugging efforts. Authors: - David Wendt (https://github.com/davidwendt) Approvers: - Yunsong Wang (https://github.com/PointKernel) - Muhammad Haseeb (https://github.com/mhaseeb123) URL: NVIDIA#22267
shrshi
pushed a commit
to shrshi/cudf
that referenced
this pull request
May 12, 2026
## Description Adds a call to `rmm::mr::reset_current_device_resource()` in the `nvbench_base_fixture` destructor so RMM can cleanup a static map before the process exists `main()`. ## Checklist - [x] I am familiar with the [Contributing Guidelines](https://github.com/rapidsai/cudf/blob/HEAD/CONTRIBUTING.md). - [x] New or existing tests cover these changes. - [x] The documentation is up to date with these changes. Admin merge per eng request
shrshi
pushed a commit
to shrshi/cudf
that referenced
this pull request
May 12, 2026
…22267) Follow on to NVIDIA#22257 to reset the memory resource used by gtests before exiting the `main()` of the process. This can help prevent a potential segfault and even if that is fixed can possibly prevent a memory leak making it easier to detect those in future debugging efforts. Authors: - David Wendt (https://github.com/davidwendt) Approvers: - Yunsong Wang (https://github.com/PointKernel) - Muhammad Haseeb (https://github.com/mhaseeb123) URL: NVIDIA#22267
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds a call to
rmm::mr::reset_current_device_resource()in thenvbench_base_fixturedestructor so RMM can cleanup a static map before the process existsmain().Checklist