Back to Taskflow

tf::cudaEventCreator class

docs/classtf_1_1cudaEventCreator.html

4.0.0584 B
Original Source

tf::cudaEventCreator class

class to create functors that construct CUDA events

Public functions

auto operator()() const -> cudaEvent_tcreates a new cudaEvent_t object using cudaEventCreateauto operator()(unsigned int flag) const -> cudaEvent_tcreates a new cudaEvent_t object using cudaEventCreate with the given flagauto operator()(cudaEvent_t event) const -> cudaEvent_treturns the given cudaEvent_t object