Enum hip_sys::hiprt::hipFunction_attribute
source · #[non_exhaustive]#[repr(u32)]pub enum hipFunction_attribute {
HIP_FUNC_ATTRIBUTE_MAX_THREADS_PER_BLOCK,
HIP_FUNC_ATTRIBUTE_SHARED_SIZE_BYTES,
HIP_FUNC_ATTRIBUTE_CONST_SIZE_BYTES,
HIP_FUNC_ATTRIBUTE_LOCAL_SIZE_BYTES,
HIP_FUNC_ATTRIBUTE_NUM_REGS,
HIP_FUNC_ATTRIBUTE_PTX_VERSION,
HIP_FUNC_ATTRIBUTE_BINARY_VERSION,
HIP_FUNC_ATTRIBUTE_CACHE_MODE_CA,
HIP_FUNC_ATTRIBUTE_MAX_DYNAMIC_SHARED_SIZE_BYTES,
HIP_FUNC_ATTRIBUTE_PREFERRED_SHARED_MEMORY_CARVEOUT,
HIP_FUNC_ATTRIBUTE_MAX,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
HIP_FUNC_ATTRIBUTE_MAX_THREADS_PER_BLOCK
HIP_FUNC_ATTRIBUTE_SHARED_SIZE_BYTES
HIP_FUNC_ATTRIBUTE_CONST_SIZE_BYTES
HIP_FUNC_ATTRIBUTE_LOCAL_SIZE_BYTES
HIP_FUNC_ATTRIBUTE_NUM_REGS
HIP_FUNC_ATTRIBUTE_PTX_VERSION
HIP_FUNC_ATTRIBUTE_BINARY_VERSION
HIP_FUNC_ATTRIBUTE_CACHE_MODE_CA
HIP_FUNC_ATTRIBUTE_MAX_DYNAMIC_SHARED_SIZE_BYTES
HIP_FUNC_ATTRIBUTE_PREFERRED_SHARED_MEMORY_CARVEOUT
HIP_FUNC_ATTRIBUTE_MAX
Trait Implementations§
source§impl Clone for hipFunction_attribute
impl Clone for hipFunction_attribute
source§fn clone(&self) -> hipFunction_attribute
fn clone(&self) -> hipFunction_attribute
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 hipFunction_attribute
impl Debug for hipFunction_attribute
source§impl Hash for hipFunction_attribute
impl Hash for hipFunction_attribute
source§impl Ord for hipFunction_attribute
impl Ord for hipFunction_attribute
source§fn cmp(&self, other: &hipFunction_attribute) -> Ordering
fn cmp(&self, other: &hipFunction_attribute) -> 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<hipFunction_attribute> for hipFunction_attribute
impl PartialEq<hipFunction_attribute> for hipFunction_attribute
source§fn eq(&self, other: &hipFunction_attribute) -> bool
fn eq(&self, other: &hipFunction_attribute) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<hipFunction_attribute> for hipFunction_attribute
impl PartialOrd<hipFunction_attribute> for hipFunction_attribute
source§fn partial_cmp(&self, other: &hipFunction_attribute) -> Option<Ordering>
fn partial_cmp(&self, other: &hipFunction_attribute) -> 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 hipFunction_attribute
impl Eq for hipFunction_attribute
impl StructuralEq for hipFunction_attribute
impl StructuralPartialEq for hipFunction_attribute
Auto Trait Implementations§
impl RefUnwindSafe for hipFunction_attribute
impl Send for hipFunction_attribute
impl Sync for hipFunction_attribute
impl Unpin for hipFunction_attribute
impl UnwindSafe for hipFunction_attribute
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