#[non_exhaustive]#[repr(u32)]pub enum cudaDeviceNumaConfig {
cudaDeviceNumaConfigNone = 0,
cudaDeviceNumaConfigNumaNode = 1,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
cudaDeviceNumaConfigNone = 0
< The GPU is not a NUMA node
cudaDeviceNumaConfigNumaNode = 1
< The GPU is a NUMA node, cudaDevAttrNumaId contains its NUMA ID
Trait Implementations§
source§impl Clone for cudaDeviceNumaConfig
impl Clone for cudaDeviceNumaConfig
source§fn clone(&self) -> cudaDeviceNumaConfig
fn clone(&self) -> cudaDeviceNumaConfig
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 cudaDeviceNumaConfig
impl Debug for cudaDeviceNumaConfig
source§impl Hash for cudaDeviceNumaConfig
impl Hash for cudaDeviceNumaConfig
source§impl PartialEq for cudaDeviceNumaConfig
impl PartialEq for cudaDeviceNumaConfig
source§fn eq(&self, other: &cudaDeviceNumaConfig) -> bool
fn eq(&self, other: &cudaDeviceNumaConfig) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for cudaDeviceNumaConfig
impl Eq for cudaDeviceNumaConfig
impl StructuralPartialEq for cudaDeviceNumaConfig
Auto Trait Implementations§
impl RefUnwindSafe for cudaDeviceNumaConfig
impl Send for cudaDeviceNumaConfig
impl Sync for cudaDeviceNumaConfig
impl Unpin for cudaDeviceNumaConfig
impl UnwindSafe for cudaDeviceNumaConfig
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