Enum opencv::core::DeviceInfo_ComputeMode
source · #[repr(C)]
pub enum DeviceInfo_ComputeMode {
ComputeModeDefault,
ComputeModeExclusive,
ComputeModeProhibited,
ComputeModeExclusiveProcess,
}
Variants§
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)
Trait Implementations§
source§impl Clone for DeviceInfo_ComputeMode
impl Clone for DeviceInfo_ComputeMode
source§fn clone(&self) -> DeviceInfo_ComputeMode
fn clone(&self) -> DeviceInfo_ComputeMode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DeviceInfo_ComputeMode
impl Debug for DeviceInfo_ComputeMode
source§impl PartialEq<DeviceInfo_ComputeMode> for DeviceInfo_ComputeMode
impl PartialEq<DeviceInfo_ComputeMode> for DeviceInfo_ComputeMode
source§fn eq(&self, other: &DeviceInfo_ComputeMode) -> bool
fn eq(&self, other: &DeviceInfo_ComputeMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.