Enum cudarc::driver::sys::CUfunction_attribute_enum
source · #[repr(u32)]pub enum CUfunction_attribute_enum {
Show 17 variants
CU_FUNC_ATTRIBUTE_MAX_THREADS_PER_BLOCK,
CU_FUNC_ATTRIBUTE_SHARED_SIZE_BYTES,
CU_FUNC_ATTRIBUTE_CONST_SIZE_BYTES,
CU_FUNC_ATTRIBUTE_LOCAL_SIZE_BYTES,
CU_FUNC_ATTRIBUTE_NUM_REGS,
CU_FUNC_ATTRIBUTE_PTX_VERSION,
CU_FUNC_ATTRIBUTE_BINARY_VERSION,
CU_FUNC_ATTRIBUTE_CACHE_MODE_CA,
CU_FUNC_ATTRIBUTE_MAX_DYNAMIC_SHARED_SIZE_BYTES,
CU_FUNC_ATTRIBUTE_PREFERRED_SHARED_MEMORY_CARVEOUT,
CU_FUNC_ATTRIBUTE_CLUSTER_SIZE_MUST_BE_SET,
CU_FUNC_ATTRIBUTE_REQUIRED_CLUSTER_WIDTH,
CU_FUNC_ATTRIBUTE_REQUIRED_CLUSTER_HEIGHT,
CU_FUNC_ATTRIBUTE_REQUIRED_CLUSTER_DEPTH,
CU_FUNC_ATTRIBUTE_NON_PORTABLE_CLUSTER_SIZE_ALLOWED,
CU_FUNC_ATTRIBUTE_CLUSTER_SCHEDULING_POLICY_PREFERENCE,
CU_FUNC_ATTRIBUTE_MAX,
}
Variants§
CU_FUNC_ATTRIBUTE_MAX_THREADS_PER_BLOCK
CU_FUNC_ATTRIBUTE_SHARED_SIZE_BYTES
CU_FUNC_ATTRIBUTE_CONST_SIZE_BYTES
CU_FUNC_ATTRIBUTE_LOCAL_SIZE_BYTES
CU_FUNC_ATTRIBUTE_NUM_REGS
CU_FUNC_ATTRIBUTE_PTX_VERSION
CU_FUNC_ATTRIBUTE_BINARY_VERSION
CU_FUNC_ATTRIBUTE_CACHE_MODE_CA
CU_FUNC_ATTRIBUTE_MAX_DYNAMIC_SHARED_SIZE_BYTES
CU_FUNC_ATTRIBUTE_PREFERRED_SHARED_MEMORY_CARVEOUT
CU_FUNC_ATTRIBUTE_CLUSTER_SIZE_MUST_BE_SET
CU_FUNC_ATTRIBUTE_REQUIRED_CLUSTER_WIDTH
CU_FUNC_ATTRIBUTE_REQUIRED_CLUSTER_HEIGHT
CU_FUNC_ATTRIBUTE_REQUIRED_CLUSTER_DEPTH
CU_FUNC_ATTRIBUTE_NON_PORTABLE_CLUSTER_SIZE_ALLOWED
CU_FUNC_ATTRIBUTE_CLUSTER_SCHEDULING_POLICY_PREFERENCE
CU_FUNC_ATTRIBUTE_MAX
Trait Implementations§
source§impl Clone for CUfunction_attribute_enum
impl Clone for CUfunction_attribute_enum
source§fn clone(&self) -> CUfunction_attribute_enum
fn clone(&self) -> CUfunction_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 CUfunction_attribute_enum
impl Debug for CUfunction_attribute_enum
source§impl Hash for CUfunction_attribute_enum
impl Hash for CUfunction_attribute_enum
source§impl Ord for CUfunction_attribute_enum
impl Ord for CUfunction_attribute_enum
source§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
source§impl PartialEq<CUfunction_attribute_enum> for CUfunction_attribute_enum
impl PartialEq<CUfunction_attribute_enum> for CUfunction_attribute_enum
source§fn eq(&self, other: &CUfunction_attribute_enum) -> bool
fn eq(&self, other: &CUfunction_attribute_enum) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<CUfunction_attribute_enum> for CUfunction_attribute_enum
impl PartialOrd<CUfunction_attribute_enum> for CUfunction_attribute_enum
source§fn partial_cmp(&self, other: &CUfunction_attribute_enum) -> Option<Ordering>
fn partial_cmp(&self, other: &CUfunction_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 CUfunction_attribute_enum
impl Eq for CUfunction_attribute_enum
impl StructuralEq for CUfunction_attribute_enum
impl StructuralPartialEq for CUfunction_attribute_enum
Auto Trait Implementations§
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 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