#include <AMReX_GpuAllocators.H>
Public Types | |
| using | value_type = T |
Public Member Functions | |
| PolymorphicAllocator () | |
| value_type * | allocate (std::size_t n) |
| void | deallocate (value_type *ptr, std::size_t) |
Public Attributes | |
| bool | m_use_gpu_aware_mpi |
Friends | |
| template<class U , class V > | |
| bool | operator== (PolymorphicAllocator< U > const &a, PolymorphicAllocator< V > const &b) noexcept |
| template<class U , class V > | |
| bool | operator!= (PolymorphicAllocator< U > const &a, PolymorphicAllocator< V > const &b) noexcept |
| using amrex::PolymorphicAllocator< T >::value_type = T |
|
inline |
|
inline |
|
inline |
|
friend |
|
friend |
| bool amrex::PolymorphicAllocator< T >::m_use_gpu_aware_mpi |