58 const std::function<
void(
void*)>& deleter)
std::function< void(void *)> deleter_
For externally managed memory, deleter != nullptr.
Definition: Blob.h:81
Device device_
Device context for the blob.
Definition: Blob.h:87
void * data_ptr_
Device data pointer.
Definition: Blob.h:84
Device GetDevice() const
Definition: Blob.h:73
Blob(const Device &device, void *data_ptr, const std::function< void(void *)> &deleter)
Definition: Blob.h:56
const void * GetDataPtr() const
Definition: Blob.h:77
Blob(int64_t byte_size, const Device &device)
Definition: Blob.h:44
void * GetDataPtr()
Definition: Blob.h:75
~Blob()
Definition: Blob.h:61
Definition: MemoryManager.h:34
static void Free(void *ptr, const Device &device)
Frees previously allocated memory at address ptr on device device.
Definition: MemoryManager.cpp:28
const char const char value recording_handle imu_sample void
Definition: K4aPlugin.cpp:250
Definition: PinholeCameraIntrinsic.cpp:16