Skip to content

Add call to reset_current_device_resource in gtests fixtures - #22267

Merged
rapids-bot[bot] merged 2 commits into
NVIDIA:mainfrom
davidwendt:gtests-mr-reset
May 1, 2026
Merged

rapids-bot[bot] merged 2 commits into
NVIDIA:mainfrom
davidwendt:gtests-mr-reset

Conversation

@davidwendt

Copy link
Copy Markdown
Contributor

Description

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.

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@davidwendt davidwendt self-assigned this Apr 23, 2026
@davidwendt
davidwendt requested a review from a team as a code owner April 23, 2026 13:58
@davidwendt davidwendt added 3 - Ready for Review Ready for review by team libcudf Affects libcudf (C++/CUDA) code. improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Apr 23, 2026
@davidwendt
davidwendt requested a review from bdice April 29, 2026 22:07
@davidwendt

Copy link
Copy Markdown
Contributor Author

/merge

@rapids-bot
rapids-bot Bot merged commit 1df976a into NVIDIA:main May 1, 2026
238 of 244 checks passed
@davidwendt
davidwendt deleted the gtests-mr-reset branch May 1, 2026 18:34
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
…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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3 - Ready for Review Ready for review by team improvement Improvement / enhancement to an existing function libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants