Enum CUfunction_attribute
#[repr(u32)]pub enum CUfunction_attribute {
Show 17 variants
CU_FUNC_ATTRIBUTE_MAX_THREADS_PER_BLOCK = 0,
CU_FUNC_ATTRIBUTE_SHARED_SIZE_BYTES = 1,
CU_FUNC_ATTRIBUTE_CONST_SIZE_BYTES = 2,
CU_FUNC_ATTRIBUTE_LOCAL_SIZE_BYTES = 3,
CU_FUNC_ATTRIBUTE_NUM_REGS = 4,
CU_FUNC_ATTRIBUTE_PTX_VERSION = 5,
CU_FUNC_ATTRIBUTE_BINARY_VERSION = 6,
CU_FUNC_ATTRIBUTE_CACHE_MODE_CA = 7,
CU_FUNC_ATTRIBUTE_MAX_DYNAMIC_SHARED_SIZE_BYTES = 8,
CU_FUNC_ATTRIBUTE_PREFERRED_SHARED_MEMORY_CARVEOUT = 9,
CU_FUNC_ATTRIBUTE_CLUSTER_SIZE_MUST_BE_SET = 10,
CU_FUNC_ATTRIBUTE_REQUIRED_CLUSTER_WIDTH = 11,
CU_FUNC_ATTRIBUTE_REQUIRED_CLUSTER_HEIGHT = 12,
CU_FUNC_ATTRIBUTE_REQUIRED_CLUSTER_DEPTH = 13,
CU_FUNC_ATTRIBUTE_NON_PORTABLE_CLUSTER_SIZE_ALLOWED = 14,
CU_FUNC_ATTRIBUTE_CLUSTER_SCHEDULING_POLICY_PREFERENCE = 15,
CU_FUNC_ATTRIBUTE_MAX = 16,
}Variants§
CU_FUNC_ATTRIBUTE_MAX_THREADS_PER_BLOCK = 0
CU_FUNC_ATTRIBUTE_SHARED_SIZE_BYTES = 1
CU_FUNC_ATTRIBUTE_CONST_SIZE_BYTES = 2
CU_FUNC_ATTRIBUTE_LOCAL_SIZE_BYTES = 3
CU_FUNC_ATTRIBUTE_NUM_REGS = 4
CU_FUNC_ATTRIBUTE_PTX_VERSION = 5
CU_FUNC_ATTRIBUTE_BINARY_VERSION = 6
CU_FUNC_ATTRIBUTE_CACHE_MODE_CA = 7
CU_FUNC_ATTRIBUTE_MAX_DYNAMIC_SHARED_SIZE_BYTES = 8
CU_FUNC_ATTRIBUTE_PREFERRED_SHARED_MEMORY_CARVEOUT = 9
CU_FUNC_ATTRIBUTE_CLUSTER_SIZE_MUST_BE_SET = 10
CU_FUNC_ATTRIBUTE_REQUIRED_CLUSTER_WIDTH = 11
CU_FUNC_ATTRIBUTE_REQUIRED_CLUSTER_HEIGHT = 12
CU_FUNC_ATTRIBUTE_REQUIRED_CLUSTER_DEPTH = 13
CU_FUNC_ATTRIBUTE_NON_PORTABLE_CLUSTER_SIZE_ALLOWED = 14
CU_FUNC_ATTRIBUTE_CLUSTER_SCHEDULING_POLICY_PREFERENCE = 15
CU_FUNC_ATTRIBUTE_MAX = 16
Trait Implementations§
§impl Clone for CUfunction_attribute_enum
impl Clone for CUfunction_attribute_enum
§fn clone(&self) -> CUfunction_attribute_enum
fn clone(&self) -> CUfunction_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 CUfunction_attribute_enum
impl Debug for CUfunction_attribute_enum
§impl Hash for CUfunction_attribute_enum
impl Hash for CUfunction_attribute_enum
§impl Ord for CUfunction_attribute_enum
impl Ord for CUfunction_attribute_enum
§fn cmp(&self, other: &CUfunction_attribute_enum) -> Ordering
fn cmp(&self, other: &CUfunction_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 CUfunction_attribute_enum
impl PartialEq for CUfunction_attribute_enum
§impl PartialOrd for CUfunction_attribute_enum
impl PartialOrd for CUfunction_attribute_enum
impl Copy for CUfunction_attribute_enum
impl Eq for CUfunction_attribute_enum
impl StructuralPartialEq for CUfunction_attribute_enum
Auto Trait Implementations§
impl Freeze for CUfunction_attribute_enum
impl RefUnwindSafe for CUfunction_attribute_enum
impl Send for CUfunction_attribute_enum
impl Sync for CUfunction_attribute_enum
impl Unpin for CUfunction_attribute_enum
impl UnsafeUnpin for CUfunction_attribute_enum
impl UnwindSafe for CUfunction_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