Principles

A stream is a sequence of tasks that execute in order. Different streams, on the other hand, execute their tasks concurrently. A default stream is bound to a default context. If no stream is created explicitly, the default stream can be used. To pass the default stream to any API call, pass NULL directly.