cudaEventCreator class
class to create functors that construct CUDA events
Public functions
- auto operator()() const -> cudaEvent_t
- creates a new
cudaEvent_tobject usingcudaEventCreate - auto operator()(unsigned int flag) const -> cudaEvent_t
- creates a new
cudaEvent_tobject usingcudaEventCreatewith the givenflag - auto operator()(cudaEvent_t event) const -> cudaEvent_t
- returns the given
cudaEvent_tobject