QMCPACK
DualAllocator.hpp File Reference
+ Include dependency graph for DualAllocator.hpp:

Go to the source code of this file.

Classes

struct  DualAllocator< T, DeviceAllocator, HostAllocator >
 Generalizes the DualMemorySpace allocator This provides a limited alternative to OMPallocator for testing/benchmarking without dependence of OMPTarget/ offload. More...
 
struct  DualAllocator< T, DeviceAllocator, HostAllocator >::rebind< U, V >
 
struct  qmc_allocator_traits< DualAllocator< T, DeviceAllocator, HostAllocator > >
 

Namespaces

 qmcplusplus
 helper functions for EinsplineSetBuilder
 

Functions

size_t getDualDeviceMemAllocated ()
 

Variables

std::atomic< size_t > dual_device_mem_allocated
 

Class Documentation

◆ qmcplusplus::DualAllocator::rebind

struct qmcplusplus::DualAllocator::rebind

template<typename T, class DeviceAllocator, class HostAllocator = std::allocator<T>>
template<class U, class V>
struct qmcplusplus::DualAllocator< T, DeviceAllocator, HostAllocator >::rebind< U, V >

Definition at line 66 of file DualAllocator.hpp.

+ Collaboration diagram for DualAllocator< T, DeviceAllocator, HostAllocator >::rebind< U, V >:
Class Members
typedef DualAllocator< U, V > other