Enum cudarc::driver::sys::CUpointer_attribute_enum
source · #[repr(u32)]pub enum CUpointer_attribute_enum {
Show 20 variants
CU_POINTER_ATTRIBUTE_CONTEXT,
CU_POINTER_ATTRIBUTE_MEMORY_TYPE,
CU_POINTER_ATTRIBUTE_DEVICE_POINTER,
CU_POINTER_ATTRIBUTE_HOST_POINTER,
CU_POINTER_ATTRIBUTE_P2P_TOKENS,
CU_POINTER_ATTRIBUTE_SYNC_MEMOPS,
CU_POINTER_ATTRIBUTE_BUFFER_ID,
CU_POINTER_ATTRIBUTE_IS_MANAGED,
CU_POINTER_ATTRIBUTE_DEVICE_ORDINAL,
CU_POINTER_ATTRIBUTE_IS_LEGACY_CUDA_IPC_CAPABLE,
CU_POINTER_ATTRIBUTE_RANGE_START_ADDR,
CU_POINTER_ATTRIBUTE_RANGE_SIZE,
CU_POINTER_ATTRIBUTE_MAPPED,
CU_POINTER_ATTRIBUTE_ALLOWED_HANDLE_TYPES,
CU_POINTER_ATTRIBUTE_IS_GPU_DIRECT_RDMA_CAPABLE,
CU_POINTER_ATTRIBUTE_ACCESS_FLAGS,
CU_POINTER_ATTRIBUTE_MEMPOOL_HANDLE,
CU_POINTER_ATTRIBUTE_MAPPING_SIZE,
CU_POINTER_ATTRIBUTE_MAPPING_BASE_ADDR,
CU_POINTER_ATTRIBUTE_MEMORY_BLOCK_ID,
}
Variants§
CU_POINTER_ATTRIBUTE_CONTEXT
CU_POINTER_ATTRIBUTE_MEMORY_TYPE
CU_POINTER_ATTRIBUTE_DEVICE_POINTER
CU_POINTER_ATTRIBUTE_HOST_POINTER
CU_POINTER_ATTRIBUTE_P2P_TOKENS
CU_POINTER_ATTRIBUTE_SYNC_MEMOPS
CU_POINTER_ATTRIBUTE_BUFFER_ID
CU_POINTER_ATTRIBUTE_IS_MANAGED
CU_POINTER_ATTRIBUTE_DEVICE_ORDINAL
CU_POINTER_ATTRIBUTE_IS_LEGACY_CUDA_IPC_CAPABLE
CU_POINTER_ATTRIBUTE_RANGE_START_ADDR
CU_POINTER_ATTRIBUTE_RANGE_SIZE
CU_POINTER_ATTRIBUTE_MAPPED
CU_POINTER_ATTRIBUTE_ALLOWED_HANDLE_TYPES
CU_POINTER_ATTRIBUTE_IS_GPU_DIRECT_RDMA_CAPABLE
CU_POINTER_ATTRIBUTE_ACCESS_FLAGS
CU_POINTER_ATTRIBUTE_MEMPOOL_HANDLE
CU_POINTER_ATTRIBUTE_MAPPING_SIZE
CU_POINTER_ATTRIBUTE_MAPPING_BASE_ADDR
CU_POINTER_ATTRIBUTE_MEMORY_BLOCK_ID
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 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 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<CUpointer_attribute_enum> for CUpointer_attribute_enum
impl PartialEq<CUpointer_attribute_enum> for CUpointer_attribute_enum
source§fn eq(&self, other: &CUpointer_attribute_enum) -> bool
fn eq(&self, other: &CUpointer_attribute_enum) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<CUpointer_attribute_enum> for CUpointer_attribute_enum
impl PartialOrd<CUpointer_attribute_enum> for CUpointer_attribute_enum
source§fn partial_cmp(&self, other: &CUpointer_attribute_enum) -> Option<Ordering>
fn partial_cmp(&self, other: &CUpointer_attribute_enum) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for CUpointer_attribute_enum
impl Eq for CUpointer_attribute_enum
impl StructuralEq for CUpointer_attribute_enum
impl StructuralPartialEq for CUpointer_attribute_enum
Auto Trait Implementations§
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