libgrape-lite
A C++ library for parallel graph processing
|
Public Member Functions | |
Event (const Event &other)=default | |
Event (Event &&other) noexcept | |
Event & | operator= (Event &&other) noexcept |
Event & | operator= (const Event &other) |
Event (std::shared_ptr< IEvent > internal_event) | |
void | Record (const Stream &stream) const |
void | Wait (const Stream &stream) const |
void | Sync () const |
bool | Query () const |
Static Public Member Functions | |
static Event | Create () |
Private Member Functions | |
Event (cudaEvent_t cuda_event, const std::function< void(cudaEvent_t)> &releaser) | |
Private Attributes | |
std::shared_ptr< IEvent > | internal_event_ {} |