![]() |
QMCPACK
|
allocator for SYCL host pinned memory T data type ALIGN alignment in bytes More...
Classes | |
struct | rebind |
Public Types | |
typedef T | value_type |
typedef size_t | size_type |
typedef T * | pointer |
typedef const T * | const_pointer |
Public Member Functions | |
SYCLHostAllocator ()=default | |
template<class U > | |
SYCLHostAllocator (const SYCLHostAllocator< U > &) | |
T * | allocate (std::size_t n) |
void | deallocate (T *p, std::size_t) |
Static Public Attributes | |
static constexpr size_t | alignment = ALIGN |
allocator for SYCL host pinned memory T data type ALIGN alignment in bytes
Definition at line 214 of file SYCLallocator.hpp.
struct qmcplusplus::SYCLHostAllocator::rebind |
Definition at line 229 of file SYCLallocator.hpp.
Class Members | ||
---|---|---|
typedef SYCLHostAllocator< U > | other |
typedef const T* const_pointer |
Definition at line 219 of file SYCLallocator.hpp.
typedef T* pointer |
Definition at line 218 of file SYCLallocator.hpp.
typedef size_t size_type |
Definition at line 217 of file SYCLallocator.hpp.
typedef T value_type |
Definition at line 216 of file SYCLallocator.hpp.
|
default |
|
inline |
Definition at line 225 of file SYCLallocator.hpp.
|
inline |
Definition at line 234 of file SYCLallocator.hpp.
|
inline |
Definition at line 235 of file SYCLallocator.hpp.
|
static |
Definition at line 221 of file SYCLallocator.hpp.