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
sourceimpl Clone for DeviceInfo_ComputeMode
impl Clone for DeviceInfo_ComputeMode
sourcefn clone(&self) -> DeviceInfo_ComputeMode
fn clone(&self) -> DeviceInfo_ComputeMode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for DeviceInfo_ComputeMode
impl Debug for DeviceInfo_ComputeMode
sourceimpl PartialEq<DeviceInfo_ComputeMode> for DeviceInfo_ComputeMode
impl PartialEq<DeviceInfo_ComputeMode> for DeviceInfo_ComputeMode
sourcefn eq(&self, other: &DeviceInfo_ComputeMode) -> bool
fn eq(&self, other: &DeviceInfo_ComputeMode) -> bool
impl Copy for DeviceInfo_ComputeMode
impl Eq for DeviceInfo_ComputeMode
impl StructuralEq for DeviceInfo_ComputeMode
impl StructuralPartialEq for DeviceInfo_ComputeMode
Auto Trait Implementations
impl RefUnwindSafe for DeviceInfo_ComputeMode
impl Send for DeviceInfo_ComputeMode
impl Sync for DeviceInfo_ComputeMode
impl Unpin for DeviceInfo_ComputeMode
impl UnwindSafe for DeviceInfo_ComputeMode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more