Classes | |
struct | rebind |
Public Types | |
using | value_type = T |
using | memory_space = MemorySpace |
Public Member Functions | |
constexpr | KokkosAllocator ()=default |
constexpr | KokkosAllocator (KokkosAllocator const &x)=default |
constexpr | KokkosAllocator (KokkosAllocator &&x) noexcept=default |
template<class U > | |
constexpr | KokkosAllocator (KokkosAllocator< U, MemorySpace > const &) noexcept |
~KokkosAllocator ()=default | |
constexpr KokkosAllocator & | operator= (KokkosAllocator const &x)=default |
constexpr KokkosAllocator & | operator= (KokkosAllocator &&x) noexcept=default |
template<class U > | |
constexpr KokkosAllocator & | operator= (KokkosAllocator< U, MemorySpace > const &) noexcept |
T * | allocate (std::size_t n) const |
T * | allocate (std::string const &label, std::size_t n) const |
void | deallocate (T *p, std::size_t) const |
struct ddc::KokkosAllocator::rebind |
Class Members | ||
---|---|---|
typedef KokkosAllocator< U, MemorySpace > | other KokkosAllocator<U, MemorySpace> |
using ddc::KokkosAllocator< T, MemorySpace >::value_type = T |
using ddc::KokkosAllocator< T, MemorySpace >::memory_space = MemorySpace |
|
constexprdefault |
|
constexprdefault |
|
constexprdefaultnoexcept |
|
inlineexplicitconstexprnoexcept |
|
default |
|
constexprdefault |
|
constexprdefaultnoexcept |
|
inlineconstexprnoexcept |
|
inline |
|
inline |
|
inline |