![]() |
QMCPACK
|
allocator for CUDA host pinned memory More...
Classes | |
struct | rebind |
Public Types | |
using | value_type = T |
using | size_type = size_t |
using | pointer = T * |
using | const_pointer = const T * |
Public Member Functions | |
CUDAHostAllocator ()=default | |
template<class U > | |
CUDAHostAllocator (const CUDAHostAllocator< U > &) | |
T * | allocate (std::size_t n) |
void | deallocate (T *p, std::size_t) |
allocator for CUDA host pinned memory
T | data type |
Definition at line 197 of file CUDAallocator.hpp.
struct qmcplusplus::CUDAHostAllocator::rebind |
Definition at line 210 of file CUDAallocator.hpp.
Class Members | ||
---|---|---|
typedef CUDAHostAllocator< U > | other |
using const_pointer = const T* |
Definition at line 202 of file CUDAallocator.hpp.
using pointer = T* |
Definition at line 201 of file CUDAallocator.hpp.
using size_type = size_t |
Definition at line 200 of file CUDAallocator.hpp.
using value_type = T |
Definition at line 199 of file CUDAallocator.hpp.
|
default |
|
inline |
Definition at line 206 of file CUDAallocator.hpp.
|
inline |
Definition at line 215 of file CUDAallocator.hpp.
|
inline |
Definition at line 221 of file CUDAallocator.hpp.