![]() |
QMCPACK
|
Specialization for OMPallocator which is a special DualAllocator with fused device and dualspace allocator functionality. More...
Static Public Member Functions | |
static void | fill_n (T *ptr, size_t n, const T &value) |
static void | attachReference (const OMPallocator< T, HostAllocator > &from, OMPallocator< T, HostAllocator > &to, std::ptrdiff_t ptr_offset) |
static void | updateTo (OMPallocator< T, HostAllocator > &alloc, T *host_ptr, size_t n, size_t offset=0) |
static void | updateFrom (OMPallocator< T, HostAllocator > &alloc, T *host_ptr, size_t n, size_t offset=0) |
static void | deviceSideCopyN (OMPallocator< T, HostAllocator > &alloc, size_t to, size_t n, size_t from) |
Static Public Attributes | |
static constexpr bool | is_host_accessible = true |
static constexpr bool | is_dual_space = true |
Specialization for OMPallocator which is a special DualAllocator with fused device and dualspace allocator functionality.
Definition at line 133 of file OMPallocator.hpp.
|
inlinestatic |
Definition at line 144 of file OMPallocator.hpp.
References OMPallocator< T, HostAllocator >::attachReference().
|
inlinestatic |
Definition at line 162 of file OMPallocator.hpp.
References OMPallocator< T, HostAllocator >::get_device_ptr(), and qmcplusplus::n.
|
inlinestatic |
Definition at line 138 of file OMPallocator.hpp.
References qmc_allocator_traits< Allocator >::fill_n(), and qmcplusplus::n.
|
inlinestatic |
Definition at line 156 of file OMPallocator.hpp.
|
inlinestatic |
Definition at line 151 of file OMPallocator.hpp.
|
static |
Definition at line 136 of file OMPallocator.hpp.
|
static |
Definition at line 135 of file OMPallocator.hpp.