#[repr(u32)]pub enum CUpointer_attribute_enum {
Show 14 variants
CU_POINTER_ATTRIBUTE_CONTEXT = 1,
CU_POINTER_ATTRIBUTE_MEMORY_TYPE = 2,
CU_POINTER_ATTRIBUTE_DEVICE_POINTER = 3,
CU_POINTER_ATTRIBUTE_HOST_POINTER = 4,
CU_POINTER_ATTRIBUTE_P2P_TOKENS = 5,
CU_POINTER_ATTRIBUTE_SYNC_MEMOPS = 6,
CU_POINTER_ATTRIBUTE_BUFFER_ID = 7,
CU_POINTER_ATTRIBUTE_IS_MANAGED = 8,
CU_POINTER_ATTRIBUTE_DEVICE_ORDINAL = 9,
CU_POINTER_ATTRIBUTE_IS_LEGACY_CUDA_IPC_CAPABLE = 10,
CU_POINTER_ATTRIBUTE_RANGE_START_ADDR = 11,
CU_POINTER_ATTRIBUTE_RANGE_SIZE = 12,
CU_POINTER_ATTRIBUTE_MAPPED = 13,
CU_POINTER_ATTRIBUTE_ALLOWED_HANDLE_TYPES = 14,
}Variants§
CU_POINTER_ATTRIBUTE_CONTEXT = 1
CU_POINTER_ATTRIBUTE_MEMORY_TYPE = 2
CU_POINTER_ATTRIBUTE_DEVICE_POINTER = 3
CU_POINTER_ATTRIBUTE_HOST_POINTER = 4
CU_POINTER_ATTRIBUTE_P2P_TOKENS = 5
CU_POINTER_ATTRIBUTE_SYNC_MEMOPS = 6
CU_POINTER_ATTRIBUTE_BUFFER_ID = 7
CU_POINTER_ATTRIBUTE_IS_MANAGED = 8
CU_POINTER_ATTRIBUTE_DEVICE_ORDINAL = 9
CU_POINTER_ATTRIBUTE_IS_LEGACY_CUDA_IPC_CAPABLE = 10
CU_POINTER_ATTRIBUTE_RANGE_START_ADDR = 11
CU_POINTER_ATTRIBUTE_RANGE_SIZE = 12
CU_POINTER_ATTRIBUTE_MAPPED = 13
CU_POINTER_ATTRIBUTE_ALLOWED_HANDLE_TYPES = 14
Trait Implementations§
Source§impl Clone for CUpointer_attribute_enum
impl Clone for CUpointer_attribute_enum
Source§fn clone(&self) -> CUpointer_attribute_enum
fn clone(&self) -> CUpointer_attribute_enum
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 CUpointer_attribute_enum
impl Debug for CUpointer_attribute_enum
Source§impl Hash for CUpointer_attribute_enum
impl Hash for CUpointer_attribute_enum
Source§impl Ord for CUpointer_attribute_enum
impl Ord for CUpointer_attribute_enum
Source§fn cmp(&self, other: &CUpointer_attribute_enum) -> Ordering
fn cmp(&self, other: &CUpointer_attribute_enum) -> 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 CUpointer_attribute_enum
impl PartialEq for CUpointer_attribute_enum
Source§impl PartialOrd for CUpointer_attribute_enum
impl PartialOrd for CUpointer_attribute_enum
impl Copy for CUpointer_attribute_enum
impl Eq for CUpointer_attribute_enum
impl StructuralPartialEq for CUpointer_attribute_enum
Auto Trait Implementations§
impl Freeze for CUpointer_attribute_enum
impl RefUnwindSafe for CUpointer_attribute_enum
impl Send for CUpointer_attribute_enum
impl Sync for CUpointer_attribute_enum
impl Unpin for CUpointer_attribute_enum
impl UnwindSafe for CUpointer_attribute_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