13 #ifndef QMCPLUSPLUS_PINNED_ALLOCATOR_H 14 #define QMCPLUSPLUS_PINNED_ALLOCATOR_H 18 #if defined(ENABLE_CUDA) 20 #elif defined(ENABLE_SYCL) 29 #if defined(ENABLE_CUDA) 31 #elif defined(ENABLE_SYCL) 37 template<
typename T,
size_t ALIGN = QMC_SIMD_ALIGNMENT>
38 #if defined(ENABLE_CUDA) 40 #elif defined(ENABLE_SYCL) allocator for SYCL host pinned memory T data type ALIGN alignment in bytes
helper functions for EinsplineSetBuilder
this file provides three C++ memory allocators using CUDA specific memory allocation functions...
std::allocator< T > PinnedAllocator
The fact that the pinned allocators are not always pinned hurts readability elsewhere.
this file provides three C++ memory allocators using SYCL specific memory allocation functions...
allocator locks memory pages allocated by ULPHA