#[repr(u32)]pub enum CUfunction_attribute_enum {
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 = 8,
}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 = 8
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 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 CUfunction_attribute_enum
impl Debug for CUfunction_attribute_enum
Source§impl Hash for CUfunction_attribute_enum
impl Hash 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 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