LSLab
Public Member Functions | Public Attributes | List of all members
lslab::device_allocator< T > Struct Template Reference

Public Member Functions

LSLAB_HOST device_allocator (size_t stack_size_=10000)
 
LSLAB_HOST_DEVICE device_allocator (const device_allocator< T > &self)
 
LSLAB_HOST_DEVICE device_allocator (device_allocator &&other)
 
LSLAB_HOST_DEVICE device_allocatoroperator= (device_allocator &&other)
 
LSLAB_DEVICE T * allocate (size_t n)
 
LSLAB_HOST_DEVICE void deallocate (T *ptr, size_t n)
 

Public Attributes

size_t stack_size
 
cuda::std::atomic< uint64_t > * loc
 
T * mempool
 

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