Constant CUDA_ERROR_DEVICE_UNAVAILABLE

Source
pub const CUDA_ERROR_DEVICE_UNAVAILABLE: cudaError_enum = 46;
Expand description

This indicates that requested CUDA device is unavailable at the current time. Devices are often unavailable due to use of ::CU_COMPUTEMODE_EXCLUSIVE_PROCESS or ::CU_COMPUTEMODE_PROHIBITED.