Block-Structured AMR Software Framework
AMReX_GpuAllocators.H File Reference
#include <AMReX_Config.H>
#include <AMReX_Print.H>
#include <AMReX_Arena.H>
#include <AMReX_GpuDevice.H>
#include <cuda.h>
#include <driver_types.h>
#include <cuda_runtime.h>
#include <limits>
#include <map>
#include <memory>
#include <type_traits>

Go to the source code of this file.

Classes

struct  amrex::FatPtr< T >
 
struct  amrex::ArenaAllocatorBase< T, AR >
 
struct  amrex::ArenaWrapper
 
struct  amrex::DeviceArenaWrapper
 
struct  amrex::PinnedArenaWrapper
 
struct  amrex::ManagedArenaWrapper
 
struct  amrex::AsyncArenaWrapper
 
struct  amrex::PolymorphicArenaWrapper
 
class  amrex::ArenaAllocator< T >
 
class  amrex::DeviceArenaAllocator< T >
 
class  amrex::PinnedArenaAllocator< T >
 
class  amrex::ManagedArenaAllocator< T >
 
class  amrex::AsyncArenaAllocator< T >
 
class  amrex::PolymorphicArenaAllocator< T >
 
struct  amrex::RunOnGpu< T >
 
struct  amrex::IsArenaAllocator< T, Enable >
 
struct  amrex::IsArenaAllocator< T, std::enable_if_t< std::is_base_of_v< ArenaAllocatorBase< typename T::value_type, typename T::arena_wrapper_type >, T > > >
 
struct  amrex::IsPolymorphicArenaAllocator< T >
 
struct  amrex::RunOnGpu< ArenaAllocator< T > >
 
struct  amrex::RunOnGpu< DeviceArenaAllocator< T > >
 
struct  amrex::RunOnGpu< ManagedArenaAllocator< T > >
 
struct  amrex::RunOnGpu< AsyncArenaAllocator< T > >
 
struct  amrex::IsPolymorphicArenaAllocator< PolymorphicArenaAllocator< T > >
 

Namespaces

 amrex
 

Typedefs

template<class T >
using amrex::DefaultAllocator = amrex::ArenaAllocator< T >
 

Functions

template<typename A1 , typename A2 , std::enable_if_t< IsArenaAllocator< A1 >::value &&IsArenaAllocator< A2 >::value, int > = 0>
bool amrex::operator== (A1 const &a1, A2 const &a2)
 
template<typename A1 , typename A2 , std::enable_if_t< IsArenaAllocator< A1 >::value &&IsArenaAllocator< A2 >::value, int > = 0>
bool amrex::operator!= (A1 const &a1, A2 const &a2)