|
QUDA
0.9.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 22 of file thrust_helper.cuh.
| typedef char thrust_allocator::value_type |
Definition at line 26 of file thrust_helper.cuh.
|
inline |
Definition at line 28 of file thrust_helper.cuh.
|
inline |
Definition at line 29 of file thrust_helper.cuh.
|
inline |
Definition at line 31 of file thrust_helper.cuh.
References pool_device_malloc.
|
inline |
Definition at line 32 of file thrust_helper.cuh.
References pool_device_free, and ptr.
1.8.14