Stokhos Package Browser (Single Doxygen Collection)
Version of the Day
|
An aligned STL allocator. More...
#include <Stokhos_MemoryTraits.hpp>
Classes | |
struct | rebind |
Public Types | |
typedef T | value_type |
typedef T * | pointer |
typedef const T * | const_pointer |
typedef T & | reference |
typedef const T & | const_reference |
typedef size_t | size_type |
typedef std::ptrdiff_t | difference_type |
typedef Stokhos::MemoryTraits < Kokkos::HostSpace > | Traits |
Public Member Functions | |
aligned_allocator () | |
template<class U > | |
aligned_allocator (const aligned_allocator< U > &) | |
size_type | max_size () const |
pointer | address (reference x) const |
const_pointer | address (const_reference x) const |
pointer | allocate (size_type n, const void *=0) |
void | deallocate (pointer p, size_type) |
void | construct (pointer p, const_reference val) |
void | destroy (pointer p) |
An aligned STL allocator.
Definition at line 161 of file Stokhos_MemoryTraits.hpp.
typedef T Stokhos::aligned_allocator< T >::value_type |
Definition at line 164 of file Stokhos_MemoryTraits.hpp.
typedef T* Stokhos::aligned_allocator< T >::pointer |
Definition at line 165 of file Stokhos_MemoryTraits.hpp.
typedef const T* Stokhos::aligned_allocator< T >::const_pointer |
Definition at line 166 of file Stokhos_MemoryTraits.hpp.
typedef T& Stokhos::aligned_allocator< T >::reference |
Definition at line 167 of file Stokhos_MemoryTraits.hpp.
typedef const T& Stokhos::aligned_allocator< T >::const_reference |
Definition at line 168 of file Stokhos_MemoryTraits.hpp.
typedef size_t Stokhos::aligned_allocator< T >::size_type |
Definition at line 169 of file Stokhos_MemoryTraits.hpp.
typedef std::ptrdiff_t Stokhos::aligned_allocator< T >::difference_type |
Definition at line 170 of file Stokhos_MemoryTraits.hpp.
typedef Stokhos::MemoryTraits< Kokkos::HostSpace > Stokhos::aligned_allocator< T >::Traits |
Definition at line 172 of file Stokhos_MemoryTraits.hpp.
|
inline |
Definition at line 176 of file Stokhos_MemoryTraits.hpp.
|
inline |
Definition at line 178 of file Stokhos_MemoryTraits.hpp.
|
inline |
Definition at line 180 of file Stokhos_MemoryTraits.hpp.
|
inline |
Definition at line 184 of file Stokhos_MemoryTraits.hpp.
|
inline |
Definition at line 186 of file Stokhos_MemoryTraits.hpp.
|
inline |
Definition at line 188 of file Stokhos_MemoryTraits.hpp.
|
inline |
Definition at line 195 of file Stokhos_MemoryTraits.hpp.
|
inline |
Definition at line 197 of file Stokhos_MemoryTraits.hpp.
|
inline |
Definition at line 199 of file Stokhos_MemoryTraits.hpp.