Skip to content

Conversation

AlexanderSinn
Copy link
Member

Summary

This PR adds the capability to profile BArena and PArena with TinyProfiler. Previously, only CArena was profiled. Note that some allocations are still not profiled when running on CPU because amrex::DefaultAllocator and amrex::PODVector use std::allocator<T> instead of amrex::ArenaAllocator<T>.

Additional background

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 WeiqunZhang merged commit a31abb5 into AMReX-Codes:development Sep 2, 2024
72 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