#[repr(transparent)]pub struct cudaDeviceP2PAttr(pub c_uint);
Expand description
CUDA device P2P attributes
Tuple Fields§
§0: c_uint
Implementations§
Source§impl cudaDeviceP2PAttr
impl cudaDeviceP2PAttr
Sourcepub const cudaDevP2PAttrPerformanceRank: cudaDeviceP2PAttr
pub const cudaDevP2PAttrPerformanceRank: cudaDeviceP2PAttr
< A relative value indicating the performance of the link between two devices
Source§impl cudaDeviceP2PAttr
impl cudaDeviceP2PAttr
Sourcepub const cudaDevP2PAttrAccessSupported: cudaDeviceP2PAttr
pub const cudaDevP2PAttrAccessSupported: cudaDeviceP2PAttr
< Peer access is enabled
Source§impl cudaDeviceP2PAttr
impl cudaDeviceP2PAttr
Sourcepub const cudaDevP2PAttrNativeAtomicSupported: cudaDeviceP2PAttr
pub const cudaDevP2PAttrNativeAtomicSupported: cudaDeviceP2PAttr
< Native atomic operation over the link supported
Source§impl cudaDeviceP2PAttr
impl cudaDeviceP2PAttr
Sourcepub const cudaDevP2PAttrCudaArrayAccessSupported: cudaDeviceP2PAttr
pub const cudaDevP2PAttrCudaArrayAccessSupported: cudaDeviceP2PAttr
< Accessing CUDA arrays over the link supported
Trait Implementations§
Source§impl Clone for cudaDeviceP2PAttr
impl Clone for cudaDeviceP2PAttr
Source§fn clone(&self) -> cudaDeviceP2PAttr
fn clone(&self) -> cudaDeviceP2PAttr
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 cudaDeviceP2PAttr
impl Debug for cudaDeviceP2PAttr
Source§impl Hash for cudaDeviceP2PAttr
impl Hash for cudaDeviceP2PAttr
Source§impl PartialEq for cudaDeviceP2PAttr
impl PartialEq for cudaDeviceP2PAttr
impl Copy for cudaDeviceP2PAttr
impl Eq for cudaDeviceP2PAttr
impl StructuralPartialEq for cudaDeviceP2PAttr
Auto Trait Implementations§
impl Freeze for cudaDeviceP2PAttr
impl RefUnwindSafe for cudaDeviceP2PAttr
impl Send for cudaDeviceP2PAttr
impl Sync for cudaDeviceP2PAttr
impl Unpin for cudaDeviceP2PAttr
impl UnwindSafe for cudaDeviceP2PAttr
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