CudaComputeMode#
- public enum CudaComputeMode#
This is the Java mapping of CUDA device compute modes.
Enum Constant Summary
Default compute mode Multiple threads can use cudaSetDevice() with this device.
Compute-exclusive-thread mode Only one thread in one process will be able to use cudaSetDevice() with this device.
Compute-exclusive-process mode Many threads in one process will be able to use cudaSetDevice() with this device.
Compute-prohibited mode No threads can use cudaSetDevice() with this device.
Enum Constants
- DEFAULT#
Default compute mode Multiple threads can use cudaSetDevice() with this device.
- EXCLUSIVE#
Compute-exclusive-thread mode Only one thread in one process will be able to use cudaSetDevice() with this device.
WARNING: This mode was deprecated! Using EXCLUSIVE_PROCESS instead.
- PROHIBITED#
Compute-prohibited mode No threads can use cudaSetDevice() with this device.
- EXCLUSIVE_PROCESS#
Compute-exclusive-process mode Many threads in one process will be able to use cudaSetDevice() with this device.