Event.
The instantiation for the type void
concerns the case in which the event is not related to a particular execution space. It is implemented by using std::chrono::steady_clock::time_point
.
The instantiations for execution spaces default to an implementation that is identical to the implementation for the instantiation for the type void
, except that the member function record
takes an execution space instance as argument. This argument is unused.
The specializations for device execution spaces:
Cuda
(timer/Cuda/Event.hpp),
HIP
(timer/HIP/Event.hpp), use the Cuda
and HIP
event management API. Note that the cudaEventSynchronize
and hipEventSynchronize
functions used by these specializations involve host-device synchronization.
Definition at line 32 of file Event.hpp.