Descriptor for device memory allocations
Definition at line 126 of file util_allocator.cuh.
Public Member Functions | |
BlockDescriptor (void *d_ptr, int device) | |
BlockDescriptor (int device) | |
Static Public Member Functions | |
static bool | PtrCompare (const BlockDescriptor &a, const BlockDescriptor &b) |
static bool | SizeCompare (const BlockDescriptor &a, const BlockDescriptor &b) |
Data Fields | |
void * | d_ptr |
size_t | bytes |
unsigned int | bin |
int | device |
cudaStream_t | associated_stream |
cudaEvent_t | ready_event |
|
inline |
Definition at line 136 of file util_allocator.cuh.
|
inline |
Definition at line 146 of file util_allocator.cuh.
|
inlinestatic |
Definition at line 156 of file util_allocator.cuh.
|
inlinestatic |
Definition at line 165 of file util_allocator.cuh.
cudaStream_t cub::CachingDeviceAllocator::BlockDescriptor::associated_stream |
Definition at line 132 of file util_allocator.cuh.
unsigned int cub::CachingDeviceAllocator::BlockDescriptor::bin |
Definition at line 130 of file util_allocator.cuh.
size_t cub::CachingDeviceAllocator::BlockDescriptor::bytes |
Definition at line 129 of file util_allocator.cuh.
void* cub::CachingDeviceAllocator::BlockDescriptor::d_ptr |
Definition at line 128 of file util_allocator.cuh.
int cub::CachingDeviceAllocator::BlockDescriptor::device |
Definition at line 131 of file util_allocator.cuh.
cudaEvent_t cub::CachingDeviceAllocator::BlockDescriptor::ready_event |
Definition at line 133 of file util_allocator.cuh.