![]() |
QMCPACK
|
These allocators are to make code that should be generic with the respect to accelerator code flavor actually so, but only through configuration time switches. More...
Include dependency graph for DualAllocatorAliases.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Namespaces | |
| qmcplusplus | |
| helper functions for EinsplineSetBuilder | |
Typedefs | |
| template<typename T > | |
| using | UnpinnedDualAllocator = OffloadAllocator< T > |
| template<typename T > | |
| using | PinnedDualAllocator = OffloadPinnedAllocator< T > |
| template<typename T > | |
| using | DeviceAllocator = OffloadDeviceAllocator< T > |
These allocators are to make code that should be generic with the respect to accelerator code flavor actually so, but only through configuration time switches.
A DualAllocator as in DualAllocator.hpp constructed of a Host and Device allocator or a OMPallocator which leverages the OMP runtime magic to map host and implicit device data if offload is enabled or is just a host allocator otherwise.
Definition in file DualAllocatorAliases.hpp.