Block-Structured AMR Software Framework
AMReX_Arena.H File Reference
#include <AMReX_Config.H>
#include <AMReX_BLassert.H>
#include <AMReX_INT.H>
#include <cstddef>
#include <cstdlib>
#include <limits>
#include <map>
#include <mutex>
#include <unordered_map>
#include <utility>

Go to the source code of this file.

Classes

struct  amrex::MemStat
 
struct  amrex::ArenaInfo
 
class  amrex::Arena
 A virtual base class for objects that manage their own dynamic memory allocation. More...
 
struct  amrex::Arena::ArenaProfiler
 

Namespaces

 amrex
 

Functions

std::size_t amrex::aligned_size (std::size_t align_requirement, std::size_t size) noexcept
 Given a minimum required size of size bytes, this returns the next largest arena size that will align to align_requirement bytes. More...
 
bool amrex::is_aligned (const void *p, std::size_t alignment) noexcept
 
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 ()