#[repr(transparent)]pub struct cudaDeviceNumaConfig(pub c_uint);
Expand description
CUDA device NUMA config
Tuple Fields§
§0: c_uint
Implementations§
Source§impl cudaDeviceNumaConfig
impl cudaDeviceNumaConfig
Sourcepub const cudaDeviceNumaConfigNone: cudaDeviceNumaConfig
pub const cudaDeviceNumaConfigNone: cudaDeviceNumaConfig
< The GPU is not a NUMA node
Source§impl cudaDeviceNumaConfig
impl cudaDeviceNumaConfig
Sourcepub const cudaDeviceNumaConfigNumaNode: cudaDeviceNumaConfig
pub const cudaDeviceNumaConfigNumaNode: cudaDeviceNumaConfig
< 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 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 cudaDeviceNumaConfig
impl Debug for cudaDeviceNumaConfig
Source§impl Hash for cudaDeviceNumaConfig
impl Hash for cudaDeviceNumaConfig
Source§impl PartialEq for cudaDeviceNumaConfig
impl PartialEq for cudaDeviceNumaConfig
impl Copy for cudaDeviceNumaConfig
impl Eq for cudaDeviceNumaConfig
impl StructuralPartialEq for cudaDeviceNumaConfig
Auto Trait Implementations§
impl Freeze for cudaDeviceNumaConfig
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