The Default Stream Trap
How stream 0 serializes everything.
What Is a Stream?
A stream is an ordered queue of GPU work. Operations in the same stream run one after another, in the order you issued them. ⏳
The Default Stream
If you never name a stream, every call lands in the default stream, also called stream 0. It is where all your work has secretly been running.
All lessons in this course
- The Default Stream Trap
- Creating and Using Streams
- Events for Timing and Sync
- Overlapping Copy and Compute