![]() |
Block-Structured AMR Software Framework
|
Memory arenas and allocators. More...
Classes | |
| class | amrex::Arena |
| A virtual base class for objects that manage their own dynamic memory allocation. More... | |
| class | amrex::CArena |
| A Concrete Class for Dynamic Memory Management using first fit. This is a coalescing memory manager. It allocates (possibly) large chunks of heap space and apportions it out as requested. It merges together neighboring chunks on each free(). More... | |
| class | amrex::ArenaAllocator< T > |
| class | amrex::DeviceArenaAllocator< T > |
| class | amrex::PinnedArenaAllocator< T > |
| class | amrex::ManagedArenaAllocator< T > |
| class | amrex::AsyncArenaAllocator< T > |
| class | amrex::PolymorphicArenaAllocator< T > |
| class | amrex::SArena |
| A STREAM-ordered memory arena. More... | |
Functions | |
| Arena * | amrex::The_Arena () |
| Arena * | amrex::The_Async_Arena () |
| Arena * | amrex::The_Device_Arena () |
| Arena * | amrex::The_Managed_Arena () |
| Arena * | amrex::The_Pinned_Arena () |
| Arena * | amrex::The_Comms_Arena () |
| Arena * | amrex::The_Cpu_Arena () |
Memory arenas and allocators.
AMReX provides a number of memory arenas and allocators:
| Arena * amrex::The_Arena | ( | ) |
Return a pointer to The_Arena, the main memory arena.
| Arena * amrex::The_Async_Arena | ( | ) |
Return a pointer to The_Async_Arena, the async-safe GPU device arena.
| Arena * amrex::The_Comms_Arena | ( | ) |
Return a pointer to The_Comms_Arena, the memory arena used by communication buffers.
| Arena * amrex::The_Cpu_Arena | ( | ) |
Return a pointer to The_Cpu_Arena, the CPU memory arena.
| Arena * amrex::The_Device_Arena | ( | ) |
Return a pointer to The_Device_Arena, the GPU device memory arena. It may be an alias to The_Arena.
| Arena * amrex::The_Managed_Arena | ( | ) |
Return a pointer to The_Managed_Arena, the GPU managed memory arena. It maby be and alias to The_Arena.
| Arena * amrex::The_Pinned_Arena | ( | ) |
Return a pointer to The_Pinned_Arena, the pinned memory arena.