#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 30 of file kokkos_allocator.hpp.

| Class Members | ||
|---|---|---|
| typedef KokkosAllocator< U, MemorySpace > | other | |
| using ddc::KokkosAllocator< T, MemorySpace >::value_type = T |
Definition at line 25 of file kokkos_allocator.hpp.
| using ddc::KokkosAllocator< T, MemorySpace >::memory_space = MemorySpace |
Definition at line 27 of file kokkos_allocator.hpp.
|
constexprdefault |
|
constexprdefault |
|
constexprdefaultnoexcept |
|
inlineexplicitconstexprnoexcept |
Definition at line 42 of file kokkos_allocator.hpp.
|
default |
|
constexprdefault |
|
constexprdefaultnoexcept |
|
inlineconstexprnoexcept |
Definition at line 53 of file kokkos_allocator.hpp.
|
inline |
Definition at line 57 of file kokkos_allocator.hpp.
|
inline |
Definition at line 62 of file kokkos_allocator.hpp.
|
inline |
Definition at line 67 of file kokkos_allocator.hpp.