#[repr(transparent)]pub struct CUdeviceNumaConfig(pub c_uint);
Expand description
CUDA device NUMA configuration CUDA device NUMA configuration
Tuple Fields§
§0: c_uint
Implementations§
Source§impl CUdeviceNumaConfig_enum
impl CUdeviceNumaConfig_enum
Sourcepub const CU_DEVICE_NUMA_CONFIG_NONE: CUdeviceNumaConfig_enum
pub const CU_DEVICE_NUMA_CONFIG_NONE: CUdeviceNumaConfig_enum
< The GPU is not a NUMA node
Source§impl CUdeviceNumaConfig_enum
impl CUdeviceNumaConfig_enum
Sourcepub const CU_DEVICE_NUMA_CONFIG_NUMA_NODE: CUdeviceNumaConfig_enum
pub const CU_DEVICE_NUMA_CONFIG_NUMA_NODE: CUdeviceNumaConfig_enum
< The GPU is a NUMA node, CU_DEVICE_ATTRIBUTE_NUMA_ID contains its NUMA ID
Trait Implementations§
Source§impl Clone for CUdeviceNumaConfig_enum
impl Clone for CUdeviceNumaConfig_enum
Source§fn clone(&self) -> CUdeviceNumaConfig_enum
fn clone(&self) -> CUdeviceNumaConfig_enum
Returns a duplicate 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 CUdeviceNumaConfig_enum
impl Debug for CUdeviceNumaConfig_enum
Source§impl Hash for CUdeviceNumaConfig_enum
impl Hash for CUdeviceNumaConfig_enum
Source§impl PartialEq for CUdeviceNumaConfig_enum
impl PartialEq for CUdeviceNumaConfig_enum
impl Copy for CUdeviceNumaConfig_enum
impl Eq for CUdeviceNumaConfig_enum
impl StructuralPartialEq for CUdeviceNumaConfig_enum
Auto Trait Implementations§
impl Freeze for CUdeviceNumaConfig_enum
impl RefUnwindSafe for CUdeviceNumaConfig_enum
impl Send for CUdeviceNumaConfig_enum
impl Sync for CUdeviceNumaConfig_enum
impl Unpin for CUdeviceNumaConfig_enum
impl UnwindSafe for CUdeviceNumaConfig_enum
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