Events for Timing and Sync
cudaEvent to measure and order work.
What Is an Event?
A CUDA event is a marker you drop into a stream. The GPU records when it reaches that point, letting you time and order work. ⏱️
The Event Handle
Events use a cudaEvent_t handle, just like streams. You create it, record it, query it, and destroy it when finished.
cudaEvent_t start, stop;All lessons in this course
- The Default Stream Trap
- Creating and Using Streams
- Events for Timing and Sync
- Overlapping Copy and Compute