Definition of internal buffer information. More...
#include <isparse_volume_subset.h>
Public Attributes | |
void * | data |
Raw memory pointer to internal buffer data. More... | |
mi::Size | size |
The size of the buffer in Bytes. More... | |
mi::Sint32 | gpu_device_id |
GPU device id if the buffer is located on a GPU device, -1 to indicate a host buffer. More... | |
bool | is_pinned_memory |
Flag indicating if a host buffer is a pinned (page-locked) memory area. More... | |
Definition of internal buffer information.
The internal buffer information can be queried using the get_internal_buffer_info()
method to gain access to the internal buffer data for direct write operations. This enables zero-copy optimizations for implementations of, e.g., IDistributed_compute_technique
where large parts of the data-subset buffer can be written directly without going through the write()
methods.
void* nv::index::ISparse_volume_subset::Data_brick_buffer_info::data |
Raw memory pointer to internal buffer data.
mi::Sint32 nv::index::ISparse_volume_subset::Data_brick_buffer_info::gpu_device_id |
GPU device id if the buffer is located on a GPU device, -1 to indicate a host buffer.
bool nv::index::ISparse_volume_subset::Data_brick_buffer_info::is_pinned_memory |
Flag indicating if a host buffer is a pinned (page-locked) memory area.
mi::Size nv::index::ISparse_volume_subset::Data_brick_buffer_info::size |
The size of the buffer in Bytes.