QMCPACK
qmc_allocator_traits< qmcplusplus::CUDAAllocator< T > > Struct Template Reference
+ Collaboration diagram for qmc_allocator_traits< qmcplusplus::CUDAAllocator< T > >:

Static Public Member Functions

static void fill_n (T *ptr, size_t n, const T &value)
 

Static Public Attributes

static const bool is_host_accessible = false
 
static const bool is_dual_space = false
 

Detailed Description

template<typename T>
struct qmcplusplus::qmc_allocator_traits< qmcplusplus::CUDAAllocator< T > >

Definition at line 186 of file CUDAallocator.hpp.

Member Function Documentation

◆ fill_n()

static void fill_n ( T *  ptr,
size_t  n,
const T &  value 
)
inlinestatic

Definition at line 190 of file CUDAallocator.hpp.

References qmcplusplus::CUDAfill_n(), and qmcplusplus::n.

190 { qmcplusplus::CUDAfill_n(ptr, n, value); }
void CUDAfill_n(T *ptr, size_t n, const T &value)
fill device memory with a given value.
Definition: CUDAfill.cpp:20

Member Data Documentation

◆ is_dual_space

const bool is_dual_space = false
static

Definition at line 189 of file CUDAallocator.hpp.

◆ is_host_accessible

const bool is_host_accessible = false
static

Definition at line 188 of file CUDAallocator.hpp.


The documentation for this struct was generated from the following file: