#[repr(u32)]pub enum cudaDeviceP2PAttr {
cudaDevP2PAttrPerformanceRank = 1,
cudaDevP2PAttrAccessSupported = 2,
cudaDevP2PAttrNativeAtomicSupported = 3,
cudaDevP2PAttrCudaArrayAccessSupported = 4,
}
Variants§
cudaDevP2PAttrPerformanceRank = 1
cudaDevP2PAttrAccessSupported = 2
cudaDevP2PAttrNativeAtomicSupported = 3
cudaDevP2PAttrCudaArrayAccessSupported = 4
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 Ord for cudaDeviceP2PAttr
impl Ord for cudaDeviceP2PAttr
Source§fn cmp(&self, other: &cudaDeviceP2PAttr) -> Ordering
fn cmp(&self, other: &cudaDeviceP2PAttr) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for cudaDeviceP2PAttr
impl PartialEq for cudaDeviceP2PAttr
Source§impl PartialOrd for cudaDeviceP2PAttr
impl PartialOrd 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