libgrape-lite
A C++ library for parallel graph processing
|
Public Member Functions | |
Bitset (SIZE_T size) | |
void | Init (SIZE_T size) |
dev::Bitset< SIZE_T > | DeviceObject () |
void | Clear () |
void | Clear (const Stream &stream) |
void | SetBit (SIZE_T pos) |
void | SetBit (SIZE_T pos, const Stream &stream) |
void | Swap (Bitset< SIZE_T > &other) |
SIZE_T | GetSize () const |
SIZE_T | GetPositiveCount () const |
SIZE_T | GetPositiveCount (const Stream &stream) const |
Static Private Member Functions | |
static SIZE_T | getNumWords (SIZE_T size) |
Private Attributes | |
thrust::device_vector< uint64_t > | data_ |
SIZE_T | size_ {} |
SharedValue< SIZE_T > | positive_count_ |
Static Private Attributes | |
static const uint64_t | kBitsPerWord = 64 |