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

Resolve "intentional" memory leaks in RAJA memory pool use #1469

Open
rhornung67 opened this issue Apr 14, 2023 · 2 comments
Open

Resolve "intentional" memory leaks in RAJA memory pool use #1469

rhornung67 opened this issue Apr 14, 2023 · 2 comments

Comments

@rhornung67
Copy link
Member

According to @MrBurmark there are some intentional memory leaks in RAJA for memory pools. They cause sort tests to fail when address sanitizer is enabled. Can they be removed?

@MrBurmark
Copy link
Member

MrBurmark commented Apr 14, 2023

I'll have to look at this again, the memory may be cleaned up after main. I know that any memory allocated through cuda and hip is not freed because the cleanup is done after main.

@rhornung67
Copy link
Member Author

This showed up when Adrien was trying to set up asan for clang with OpenMP enabled.

If we free all RAJA memory pools using atexit(), or something else like it, asan will still complain, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants