Skip to content

clear freeAsync buffer before allocating new memory#4832

Merged
WeiqunZhang merged 3 commits intoAMReX-Codes:developmentfrom
AlexanderSinn:clear_freeAsync_buffer_before_allocating_new_memory
Dec 8, 2025
Merged

clear freeAsync buffer before allocating new memory#4832
WeiqunZhang merged 3 commits intoAMReX-Codes:developmentfrom
AlexanderSinn:clear_freeAsync_buffer_before_allocating_new_memory

Conversation

@AlexanderSinn
Copy link
Copy Markdown
Member

@AlexanderSinn AlexanderSinn commented Dec 4, 2025

Summary

Clear the buffer used by freeAsync every time the CArena needs to make a new memory allocation.

Additional background

So far I don't have a test where this would be triggered.

Checklist

The proposed changes:

  • fix a bug or incorrect behavior in AMReX
  • add new capabilities to AMReX
  • changes answers in the test suite to more than roundoff level
  • are likely to significantly affect the results of downstream AMReX users
  • include documentation in the code and/or rst files, if appropriate

@WeiqunZhang
Copy link
Copy Markdown
Member

/run-hpsf-gitlab-ci

@github-actions
Copy link
Copy Markdown

github-actions bot commented Dec 6, 2025

@amrex-gitlab-ci-reporter
Copy link
Copy Markdown

GitLab CI 1338014 finished with status: success. See details at https://gitlab.spack.io/amrex/amrex/-/pipelines/1338014.

@WeiqunZhang WeiqunZhang merged commit 80e2a18 into AMReX-Codes:development Dec 8, 2025
73 checks passed
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.

2 participants