![]() |
QMCPACK
|
allocator for SYCL shared 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 | |
SYCLSharedAllocator ()=default | |
template<class U > | |
SYCLSharedAllocator (const SYCLSharedAllocator< 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 shared memory T data type ALIGN alignment in bytes
Definition at line 44 of file SYCLallocator.hpp.
struct qmcplusplus::SYCLSharedAllocator::rebind |
Definition at line 59 of file SYCLallocator.hpp.
Class Members | ||
---|---|---|
typedef SYCLSharedAllocator< U > | other |
typedef const T* const_pointer |
Definition at line 49 of file SYCLallocator.hpp.
typedef T* pointer |
Definition at line 48 of file SYCLallocator.hpp.
typedef size_t size_type |
Definition at line 47 of file SYCLallocator.hpp.
typedef T value_type |
Definition at line 46 of file SYCLallocator.hpp.
|
default |
|
inline |
Definition at line 55 of file SYCLallocator.hpp.
|
inline |
Definition at line 64 of file SYCLallocator.hpp.
References qmcplusplus::getSYCLDefaultDeviceDefaultQueue(), and qmcplusplus::n.
|
inline |
Definition at line 69 of file SYCLallocator.hpp.
References qmcplusplus::getSYCLDefaultDeviceDefaultQueue().
|
static |
Definition at line 51 of file SYCLallocator.hpp.