Expand description
CUDA event management.
Implements the CUDA Runtime event API:
cudaEventCreate/cudaEventCreateWithFlagscudaEventDestroycudaEventRecordcudaEventSynchronizecudaEventQuerycudaEventElapsedTime
Structs§
- Cuda
Event - A CUDA event handle.
- Event
Flags - Flags for event creation.
Functions§
- event_
create - Create a CUDA event with default flags.
- event_
create_ with_ flags - Create a CUDA event with the given flags.
- event_
destroy - Destroy a CUDA event.
- event_
elapsed_ time - Compute the elapsed time between two events in milliseconds.
- event_
query - Query whether
eventhas been recorded. - event_
record - Record
eventat the current position instream. - event_
record_ with_ flags - Record
eventat the current position instreamwith flags. - event_
synchronize - Block the calling thread until
eventis recorded.