OmniSciDB
a5dc49c757
|
Functions | |
size_t | get_heap_size (const size_t row_size, const size_t n, const size_t thread_count) |
size_t | get_rows_offset_of_heaps (const size_t n, const size_t thread_count) |
std::vector< int8_t > | get_rows_copy_from_heaps (const int64_t *heaps, const size_t heaps_size, const size_t n, const size_t thread_count) |
size_t streaming_top_n::get_heap_size | ( | const size_t | row_size, |
const size_t | n, | ||
const size_t | thread_count | ||
) |
Definition at line 24 of file StreamingTopN.cpp.
Referenced by QueryMemoryInitializer::copyGroupByBuffersFromGpu(), QueryMemoryDescriptor::getBufferSizeBytes(), pop_n_rows_from_merged_heaps_gpu(), QueryMemoryInitializer::prepareTopNHeapsDevBuffer(), and QueryMemoryDescriptor::QueryMemoryDescriptor().
std::vector< int8_t > streaming_top_n::get_rows_copy_from_heaps | ( | const int64_t * | heaps, |
const size_t | heaps_size, | ||
const size_t | n, | ||
const size_t | thread_count | ||
) |
Definition at line 33 of file StreamingTopN.cpp.
References get_rows_offset_of_heaps().
Referenced by QueryMemoryInitializer::applyStreamingTopNOffsetCpu().
size_t streaming_top_n::get_rows_offset_of_heaps | ( | const size_t | n, |
const size_t | thread_count | ||
) |
Definition at line 29 of file StreamingTopN.cpp.
Referenced by get_rows_copy_from_heaps(), QueryMemoryInitializer::initGroupByBuffer(), pop_n_rows_from_merged_heaps_gpu(), and QueryMemoryInitializer::prepareTopNHeapsDevBuffer().