NVIDIA IndeX API nvidia_logo_transpbg.gif Up
nv::index::ISparse_volume_subset::Data_brick_buffer_info Struct Reference

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...
 

Detailed Description

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.

Note
The internal layout of the buffer of a volume-data brick is in a linear IJK/XYZ layout with the I/X-component running fastest.

Member Data Documentation

 data

void* nv::index::ISparse_volume_subset::Data_brick_buffer_info::data

Raw memory pointer to internal buffer data.

 gpu_device_id

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.

 is_pinned_memory

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.

 size

mi::Size nv::index::ISparse_volume_subset::Data_brick_buffer_info::size

The size of the buffer in Bytes.


The documentation for this struct was generated from the following file: