#include <HashBackendBuffer.h>
◆ HashBackendBuffer()
open3d::core::HashBackendBuffer::HashBackendBuffer |
( |
int64_t |
capacity, |
|
|
int64_t |
key_dsize, |
|
|
std::vector< int64_t > |
value_dsizes, |
|
|
const Device & |
device |
|
) |
| |
◆ GetCapacity()
int64_t open3d::core::HashBackendBuffer::GetCapacity |
( |
| ) |
const |
Return capacity of the buffer.
◆ GetCommonBlockSize()
int64_t open3d::core::HashBackendBuffer::GetCommonBlockSize |
( |
| ) |
const |
Get the common block size divisor of all values types.
◆ GetDevice()
Device open3d::core::HashBackendBuffer::GetDevice |
( |
| ) |
const |
Return device of the buffer.
◆ GetHeapTop()
Return the heap top structure. To be dispatched accordingly in C++/CUDA accessors.
◆ GetHeapTopIndex()
int open3d::core::HashBackendBuffer::GetHeapTopIndex |
( |
| ) |
const |
Return the current heap top.
◆ GetIndexHeap()
Tensor open3d::core::HashBackendBuffer::GetIndexHeap |
( |
| ) |
const |
Return the index heap tensor.
◆ GetKeyBuffer()
Tensor open3d::core::HashBackendBuffer::GetKeyBuffer |
( |
| ) |
const |
Return the key buffer tensor.
◆ GetKeyDsize()
int64_t open3d::core::HashBackendBuffer::GetKeyDsize |
( |
| ) |
const |
Return key's data size in bytes.
◆ GetValueBlocksPerElement()
std::vector< int64_t > open3d::core::HashBackendBuffer::GetValueBlocksPerElement |
( |
| ) |
const |
Return value's data sizes in the unit of common block size divisor.
◆ GetValueBuffer()
Tensor open3d::core::HashBackendBuffer::GetValueBuffer |
( |
size_t |
i = 0 | ) |
const |
Return the selected value buffer tensor at index i.
◆ GetValueBuffers()
std::vector< Tensor > open3d::core::HashBackendBuffer::GetValueBuffers |
( |
| ) |
const |
Return the value buffer tensors.
◆ GetValueDsizes()
std::vector< int64_t > open3d::core::HashBackendBuffer::GetValueDsizes |
( |
| ) |
const |
Return value's data sizes in bytes.
◆ ResetHeap()
void open3d::core::HashBackendBuffer::ResetHeap |
( |
| ) |
|
Reset the heap and heap top.
◆ blocks_per_element_
std::vector<int64_t> open3d::core::HashBackendBuffer::blocks_per_element_ |
|
protected |
◆ common_block_size_
int64_t open3d::core::HashBackendBuffer::common_block_size_ |
|
protected |
◆ heap_
Tensor open3d::core::HashBackendBuffer::heap_ |
|
protected |
◆ heap_top_
HeapTop open3d::core::HashBackendBuffer::heap_top_ |
|
protected |
◆ key_buffer_
Tensor open3d::core::HashBackendBuffer::key_buffer_ |
|
protected |
◆ value_buffers_
std::vector<Tensor> open3d::core::HashBackendBuffer::value_buffers_ |
|
protected |
The documentation for this class was generated from the following files: