#[repr(u32)]pub enum cuvsMultiGpuDistributionMode {
CUVS_NEIGHBORS_MG_REPLICATED = 0,
CUVS_NEIGHBORS_MG_SHARDED = 1,
}Expand description
@brief Distribution mode for multi-GPU indexes
Variants§
CUVS_NEIGHBORS_MG_REPLICATED = 0
Index is replicated on each device, favors throughput
CUVS_NEIGHBORS_MG_SHARDED = 1
Index is split on several devices, favors scaling
Trait Implementations§
Source§impl Clone for cuvsMultiGpuDistributionMode
impl Clone for cuvsMultiGpuDistributionMode
Source§fn clone(&self) -> cuvsMultiGpuDistributionMode
fn clone(&self) -> cuvsMultiGpuDistributionMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for cuvsMultiGpuDistributionMode
Source§impl Debug for cuvsMultiGpuDistributionMode
impl Debug for cuvsMultiGpuDistributionMode
impl Eq for cuvsMultiGpuDistributionMode
Source§impl Hash for cuvsMultiGpuDistributionMode
impl Hash for cuvsMultiGpuDistributionMode
Source§impl PartialEq for cuvsMultiGpuDistributionMode
impl PartialEq for cuvsMultiGpuDistributionMode
Source§fn eq(&self, other: &cuvsMultiGpuDistributionMode) -> bool
fn eq(&self, other: &cuvsMultiGpuDistributionMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for cuvsMultiGpuDistributionMode
Auto Trait Implementations§
impl Freeze for cuvsMultiGpuDistributionMode
impl RefUnwindSafe for cuvsMultiGpuDistributionMode
impl Send for cuvsMultiGpuDistributionMode
impl Sync for cuvsMultiGpuDistributionMode
impl Unpin for cuvsMultiGpuDistributionMode
impl UnsafeUnpin for cuvsMultiGpuDistributionMode
impl UnwindSafe for cuvsMultiGpuDistributionMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more