#include <kokkos_allocator.hpp>
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 |
Definition at line 16 of file kokkos_allocator.hpp.
struct ddc::KokkosAllocator::rebind |
Definition at line 24 of file kokkos_allocator.hpp.
Class Members | ||
---|---|---|
typedef KokkosAllocator< U, MemorySpace > | other |
using ddc::KokkosAllocator< T, MemorySpace >::value_type = T |
Definition at line 19 of file kokkos_allocator.hpp.
using ddc::KokkosAllocator< T, MemorySpace >::memory_space = MemorySpace |
Definition at line 21 of file kokkos_allocator.hpp.
|
constexprdefault |
|
constexprdefault |
|
constexprdefaultnoexcept |
|
inlineexplicitconstexprnoexcept |
Definition at line 36 of file kokkos_allocator.hpp.
|
default |
|
constexprdefault |
|
constexprdefaultnoexcept |
|
inlineconstexprnoexcept |
Definition at line 47 of file kokkos_allocator.hpp.
|
inline |
Definition at line 51 of file kokkos_allocator.hpp.
|
inline |
Definition at line 56 of file kokkos_allocator.hpp.
|
inline |
Definition at line 61 of file kokkos_allocator.hpp.