enum cv::cuda::DeviceInfo::ComputeMode

Overview

#include <cuda.hpp>

enum ComputeMode
{
    ComputeModeDefault,
    ComputeModeExclusive,
    ComputeModeProhibited,
    ComputeModeExclusiveProcess,
};

Detailed Documentation

Enum Values

ComputeModeDefault

default compute mode (Multiple threads can use cudaSetDevice with this device)

ComputeModeExclusive

compute-exclusive-thread mode (Only one thread in one process will be able to use cudaSetDevice with this device)

ComputeModeProhibited

compute-prohibited mode (No threads can use cudaSetDevice with this device)

ComputeModeExclusiveProcess

compute-exclusive-process mode (Many threads in one process will be able to use cudaSetDevice with this device)