QMCPACK
OMPallocator.hpp File Reference
+ Include dependency graph for OMPallocator.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  OMPallocator< T, HostAllocator >
 OMPallocator is an allocator with fused device and dualspace allocator functionality. More...
 
struct  OMPallocator< T, HostAllocator >::rebind< U, V >
 
struct  qmc_allocator_traits< OMPallocator< T, HostAllocator > >
 Specialization for OMPallocator which is a special DualAllocator with fused device and dualspace allocator functionality. More...
 

Namespaces

 qmcplusplus
 helper functions for EinsplineSetBuilder
 

Functions

size_t getOMPdeviceMemAllocated ()
 
template<typename T >
T * getOffloadDevicePtr (T *host_ptr)
 

Variables

std::atomic< size_t > OMPallocator_device_mem_allocated
 

Class Documentation

◆ qmcplusplus::OMPallocator::rebind

struct qmcplusplus::OMPallocator::rebind

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

Definition at line 79 of file OMPallocator.hpp.

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