Open3D (C++ API)  0.18.0+80ae047
Public Member Functions | Data Fields
open3d::core::CPUHashBackendBufferAccessor Class Reference

#include <CPUHashBackendBufferAccessor.hpp>

Public Member Functions

 CPUHashBackendBufferAccessor (HashBackendBuffer &hashmap_buffer)
 Must initialize from a non-const buffer to grab the heap top. More...
 
buf_index_t DeviceAllocate ()
 
void DeviceFree (buf_index_t buf_index)
 
void * GetKeyPtr (buf_index_t buf_index)
 
void * GetValuePtr (buf_index_t buf_index, int value_idx=0)
 

Data Fields

int64_t capacity_
 
int64_t key_dsize_
 
std::vector< int64_t > value_dsizes_
 
buf_index_theap_
 
std::atomic< int > * heap_top_
 
uint8_t * key_buffer_ptr_
 
std::vector< uint8_t * > value_buffer_ptrs_
 

Constructor & Destructor Documentation

◆ CPUHashBackendBufferAccessor()

open3d::core::CPUHashBackendBufferAccessor::CPUHashBackendBufferAccessor ( HashBackendBuffer hashmap_buffer)
inline

Must initialize from a non-const buffer to grab the heap top.

Member Function Documentation

◆ DeviceAllocate()

buf_index_t open3d::core::CPUHashBackendBufferAccessor::DeviceAllocate ( )
inline

◆ DeviceFree()

void open3d::core::CPUHashBackendBufferAccessor::DeviceFree ( buf_index_t  buf_index)
inline

◆ GetKeyPtr()

void* open3d::core::CPUHashBackendBufferAccessor::GetKeyPtr ( buf_index_t  buf_index)
inline

◆ GetValuePtr()

void* open3d::core::CPUHashBackendBufferAccessor::GetValuePtr ( buf_index_t  buf_index,
int  value_idx = 0 
)
inline

Field Documentation

◆ capacity_

int64_t open3d::core::CPUHashBackendBufferAccessor::capacity_

◆ heap_

buf_index_t* open3d::core::CPUHashBackendBufferAccessor::heap_

◆ heap_top_

std::atomic<int>* open3d::core::CPUHashBackendBufferAccessor::heap_top_

◆ key_buffer_ptr_

uint8_t* open3d::core::CPUHashBackendBufferAccessor::key_buffer_ptr_

◆ key_dsize_

int64_t open3d::core::CPUHashBackendBufferAccessor::key_dsize_

◆ value_buffer_ptrs_

std::vector<uint8_t *> open3d::core::CPUHashBackendBufferAccessor::value_buffer_ptrs_

◆ value_dsizes_

std::vector<int64_t> open3d::core::CPUHashBackendBufferAccessor::value_dsizes_

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