Enum rcudnn_sys::cudaDeviceP2PAttr
source · #[non_exhaustive]#[repr(u32)]pub enum cudaDeviceP2PAttr {
cudaDevP2PAttrPerformanceRank = 1,
cudaDevP2PAttrAccessSupported = 2,
cudaDevP2PAttrNativeAtomicSupported = 3,
cudaDevP2PAttrCudaArrayAccessSupported = 4,
}
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.
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 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 cudaDeviceP2PAttr
impl Debug for cudaDeviceP2PAttr
source§impl Hash for cudaDeviceP2PAttr
impl Hash for cudaDeviceP2PAttr
source§impl PartialEq for cudaDeviceP2PAttr
impl PartialEq for cudaDeviceP2PAttr
source§fn eq(&self, other: &cudaDeviceP2PAttr) -> bool
fn eq(&self, other: &cudaDeviceP2PAttr) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for cudaDeviceP2PAttr
impl Eq for cudaDeviceP2PAttr
impl StructuralPartialEq for cudaDeviceP2PAttr
Auto Trait Implementations§
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