QUDA
1.0.0
|
Public Types | |
typedef char | value_type |
Public Member Functions | |
thrust_allocator () | |
~thrust_allocator () | |
char * | allocate (std::ptrdiff_t num_bytes) |
void | deallocate (char *ptr, size_t n) |
Allocator helper class which allows us to redirect thrust temporary alocations to use QUDA's pool memory
Definition at line 27 of file thrust_helper.cuh.
typedef char thrust_allocator::value_type |
Definition at line 31 of file thrust_helper.cuh.
|
inline |
Definition at line 33 of file thrust_helper.cuh.
|
inline |
Definition at line 34 of file thrust_helper.cuh.
|
inline |
Definition at line 36 of file thrust_helper.cuh.
References pool_device_malloc.
|
inline |
Definition at line 37 of file thrust_helper.cuh.
References pool_device_free.