0PricingLogin
CUDA Academy · Lesson

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

  1. The Default Stream Trap
  2. Creating and Using Streams
  3. Events for Timing and Sync
  4. Overlapping Copy and Compute
← Back to CUDA Academy