Class ColumnBitmap¶
-
class
ColumnBitmap
¶ A helper data structure to track non-empty entries in the input buffer Currently only used for direct columnarization with columnar outputs. Each bank is assigned to a thread so that concurrent updates of the data structure is non-blocking.
Public Functions
-
ColumnBitmap
(const size_t num_elements_per_bank, size_t num_banks)¶
-
bool
get
(const size_t index, const size_t bank_index) const¶
-
void
set
(const size_t index, const size_t bank_index, const bool val)¶
Private Members
-
std::vector<std::vector<bool>>
bitmaps_
¶
-