Block-Structured AMR Software Framework
amrex::ArenaInfo Struct Reference

#include <AMReX_Arena.H>

Public Member Functions

ArenaInfoSetReleaseThreshold (Long rt) noexcept
 
ArenaInfoSetDeviceMemory () noexcept
 
ArenaInfoSetReadOnly () noexcept
 
ArenaInfoSetPreferred () noexcept
 
ArenaInfoSetHostAlloc () noexcept
 
ArenaInfoSetCpuMemory () noexcept
 

Public Attributes

Long release_threshold = std::numeric_limits<Long>::max()
 
bool use_cpu_memory = false
 
bool device_use_managed_memory = true
 
bool device_set_readonly = false
 
bool device_set_preferred = false
 
bool device_use_hostalloc = false
 

Member Function Documentation

◆ SetCpuMemory()

ArenaInfo& amrex::ArenaInfo::SetCpuMemory ( )
inlinenoexcept

◆ SetDeviceMemory()

ArenaInfo& amrex::ArenaInfo::SetDeviceMemory ( )
inlinenoexcept

◆ SetHostAlloc()

ArenaInfo& amrex::ArenaInfo::SetHostAlloc ( )
inlinenoexcept

◆ SetPreferred()

ArenaInfo& amrex::ArenaInfo::SetPreferred ( )
inlinenoexcept

◆ SetReadOnly()

ArenaInfo& amrex::ArenaInfo::SetReadOnly ( )
inlinenoexcept

◆ SetReleaseThreshold()

ArenaInfo& amrex::ArenaInfo::SetReleaseThreshold ( Long  rt)
inlinenoexcept

Member Data Documentation

◆ device_set_preferred

bool amrex::ArenaInfo::device_set_preferred = false

◆ device_set_readonly

bool amrex::ArenaInfo::device_set_readonly = false

◆ device_use_hostalloc

bool amrex::ArenaInfo::device_use_hostalloc = false

◆ device_use_managed_memory

bool amrex::ArenaInfo::device_use_managed_memory = true

◆ release_threshold

Long amrex::ArenaInfo::release_threshold = std::numeric_limits<Long>::max()

◆ use_cpu_memory

bool amrex::ArenaInfo::use_cpu_memory = false

The documentation for this struct was generated from the following file: