#[repr(transparent)]pub struct CUdevice_P2PAttribute_enum(pub c_uint);Expand description
P2P Attributes.
Tuple Fields§
§0: c_uintImplementations§
Source§impl CUdevice_P2PAttribute_enum
impl CUdevice_P2PAttribute_enum
Sourcepub const CU_DEVICE_P2P_ATTRIBUTE_PERFORMANCE_RANK: CUdevice_P2PAttribute_enum
pub const CU_DEVICE_P2P_ATTRIBUTE_PERFORMANCE_RANK: CUdevice_P2PAttribute_enum
A relative value indicating the performance of the link between two devices.
Sourcepub const CU_DEVICE_P2P_ATTRIBUTE_ACCESS_SUPPORTED: CUdevice_P2PAttribute_enum
pub const CU_DEVICE_P2P_ATTRIBUTE_ACCESS_SUPPORTED: CUdevice_P2PAttribute_enum
P2P Access is enable.
Sourcepub const CU_DEVICE_P2P_ATTRIBUTE_NATIVE_ATOMIC_SUPPORTED: CUdevice_P2PAttribute_enum
pub const CU_DEVICE_P2P_ATTRIBUTE_NATIVE_ATOMIC_SUPPORTED: CUdevice_P2PAttribute_enum
All CUDA-valid atomic operation over the link are supported.
Sourcepub const CU_DEVICE_P2P_ATTRIBUTE_ACCESS_ACCESS_SUPPORTED: CUdevice_P2PAttribute_enum
👎Deprecated
pub const CU_DEVICE_P2P_ATTRIBUTE_ACCESS_ACCESS_SUPPORTED: CUdevice_P2PAttribute_enum
Deprecated: use CUdevice_P2PAttribute::CU_DEVICE_P2P_ATTRIBUTE_CUDA_ARRAY_ACCESS_SUPPORTED instead.
Sourcepub const CU_DEVICE_P2P_ATTRIBUTE_CUDA_ARRAY_ACCESS_SUPPORTED: CUdevice_P2PAttribute_enum
pub const CU_DEVICE_P2P_ATTRIBUTE_CUDA_ARRAY_ACCESS_SUPPORTED: CUdevice_P2PAttribute_enum
Accessing CUDA arrays over the link supported.
Sourcepub const CU_DEVICE_P2P_ATTRIBUTE_ONLY_PARTIAL_NATIVE_ATOMIC_SUPPORTED: CUdevice_P2PAttribute_enum
pub const CU_DEVICE_P2P_ATTRIBUTE_ONLY_PARTIAL_NATIVE_ATOMIC_SUPPORTED: CUdevice_P2PAttribute_enum
Only some CUDA-valid atomic operations over the link are supported.
Trait Implementations§
Source§impl Clone for CUdevice_P2PAttribute_enum
impl Clone for CUdevice_P2PAttribute_enum
impl Copy for CUdevice_P2PAttribute_enum
Source§impl Debug for CUdevice_P2PAttribute_enum
impl Debug for CUdevice_P2PAttribute_enum
impl Eq for CUdevice_P2PAttribute_enum
Source§impl Hash for CUdevice_P2PAttribute_enum
impl Hash for CUdevice_P2PAttribute_enum
Source§impl Ord for CUdevice_P2PAttribute_enum
impl Ord for CUdevice_P2PAttribute_enum
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for CUdevice_P2PAttribute_enum
impl PartialOrd for CUdevice_P2PAttribute_enum
impl StructuralPartialEq for CUdevice_P2PAttribute_enum
Auto Trait Implementations§
impl Forget for CUdevice_P2PAttribute_enum
impl Freeze for CUdevice_P2PAttribute_enum
impl Move for CUdevice_P2PAttribute_enum
impl RefUnwindSafe for CUdevice_P2PAttribute_enum
impl Send for CUdevice_P2PAttribute_enum
impl Sync for CUdevice_P2PAttribute_enum
impl Unpin for CUdevice_P2PAttribute_enum
impl UnsafeUnpin for CUdevice_P2PAttribute_enum
impl UnwindSafe for CUdevice_P2PAttribute_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