BlockDescriptor Struct Reference#
hipcub::CachingDeviceAllocator::BlockDescriptor Struct Reference
#include <util_allocator.hpp>
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) |
Public Attributes | |
void * | d_ptr |
size_t | bytes |
unsigned int | bin |
int | device |
hipStream_t | associated_stream |
hipEvent_t | ready_event |
Detailed Description
Descriptor for device memory allocations
The documentation for this struct was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hipcub/checkouts/docs-5.7.0/hipcub/include/hipcub/backend/rocprim/util_allocator.hpp