libgrape-lite
A C++ library for parallel graph processing
|
Public Types | |
using | device_t = dev::Queue< T, SIZE_T > |
Public Member Functions | |
void | Init (SIZE_T capacity) |
void | Clear () |
void | Clear (const Stream &stream) |
size_t | size () const |
size_t | size (const Stream &stream) |
T * | data () |
const T * | data () const |
device_t | DeviceObject () |
void | Swap (Queue< T, SIZE_T > &rhs) |
Private Attributes | |
thrust::device_vector< T > | data_ |
SharedValue< SIZE_T > | counter_ {} |