Enum CUpointer_attribute_enum
#[repr(u32)]pub enum CUpointer_attribute_enum {
Show 20 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,
CU_POINTER_ATTRIBUTE_IS_GPU_DIRECT_RDMA_CAPABLE = 15,
CU_POINTER_ATTRIBUTE_ACCESS_FLAGS = 16,
CU_POINTER_ATTRIBUTE_MEMPOOL_HANDLE = 17,
CU_POINTER_ATTRIBUTE_MAPPING_SIZE = 18,
CU_POINTER_ATTRIBUTE_MAPPING_BASE_ADDR = 19,
CU_POINTER_ATTRIBUTE_MEMORY_BLOCK_ID = 20,
}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
CU_POINTER_ATTRIBUTE_IS_GPU_DIRECT_RDMA_CAPABLE = 15
CU_POINTER_ATTRIBUTE_ACCESS_FLAGS = 16
CU_POINTER_ATTRIBUTE_MEMPOOL_HANDLE = 17
CU_POINTER_ATTRIBUTE_MAPPING_SIZE = 18
CU_POINTER_ATTRIBUTE_MAPPING_BASE_ADDR = 19
CU_POINTER_ATTRIBUTE_MEMORY_BLOCK_ID = 20
Trait Implementations§
§impl Clone for CUpointer_attribute_enum
impl Clone for CUpointer_attribute_enum
§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 more§impl Debug for CUpointer_attribute_enum
impl Debug for CUpointer_attribute_enum
§impl Hash for CUpointer_attribute_enum
impl Hash for CUpointer_attribute_enum
§impl Ord for CUpointer_attribute_enum
impl Ord for CUpointer_attribute_enum
§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
§impl PartialEq for CUpointer_attribute_enum
impl PartialEq for CUpointer_attribute_enum
§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 UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more