cuda.bindings._v2.driver.ComputeMode#
- class cuda.bindings._v2.driver.ComputeMode(value: int)#
Compute Modes
See CUcomputemode.
- DEFAULT: 0
Default compute mode (Multiple contexts allowed per device)
- PROHIBITED: 2
Compute-prohibited mode (No contexts can be created on this device at this time)
- EXCLUSIVE_PROCESS: 3
Compute-exclusive-process mode (Only one context used by a single process can be present on this device at a time)