cuda.bindings._v2.driver.SpecialStream#

class cuda.bindings._v2.driver.SpecialStream(value: int)#

Special stream handles, as int (CU_STREAM_*).

LEGACY: 1

Legacy stream handle. Stream handle that can be passed as a CUstream to use an implicit stream with legacy synchronization behavior.

PER_THREAD: 2

Per-thread stream handle. Stream handle that can be passed as a CUstream to use an implicit stream with per-thread synchronization behavior.