26 #ifndef QUERYENGINE_COUNTDISTINCTDESCRIPTOR_H 27 #define QUERYENGINE_COUNTDISTINCTDESCRIPTOR_H 29 #include "../BufferCompaction.h" 30 #include "../CompilationOptions.h" 34 size_t bitmap_byte_sz = bitmap_sz / 8;
38 return bitmap_byte_sz;
53 const auto approx_reg_bytes =
55 return approximate ? (1 << bitmap_sz_bits) * approx_reg_bytes
60 const auto effective_size = bitmapSizeBytes();
61 const auto padded_size =
65 return padded_size * sub_bitmap_count;
81 #endif // QUERYENGINE_COUNTDISTINCTDESCRIPTOR_H
ExecutorDeviceType device_type
size_t bitmap_bits_to_bytes(const size_t bitmap_sz)
CountDistinctImplType impl_type_
size_t bitmapSizeBytes() const
bool operator!=(const CountDistinctDescriptor &lhs, const CountDistinctDescriptor &rhs)
bool operator==(const CountDistinctDescriptor &lhs, const CountDistinctDescriptor &rhs)
size_t bitmapPaddedSizeBytes() const
FORCE_INLINE HOST DEVICE T align_to_int64(T addr)