Enum nvbit_model::FunctionAttribute
source · pub enum FunctionAttribute {
MaxThreadsPerBlock,
SharedSizeBytes,
ConstSizeBytes,
LocalSizeBytes,
NumRegs,
PTXVersion,
BinaryVersion,
CacheModeCA,
MaxDynamicSharedSizeBytes,
PreferredSharedMemoryCarveout,
Max,
}Expand description
CUDA function attribute.
Variants§
Trait Implementations§
source§impl Debug for FunctionAttribute
impl Debug for FunctionAttribute
source§impl<'de> Deserialize<'de> for FunctionAttribute
impl<'de> Deserialize<'de> for FunctionAttribute
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for FunctionAttribute
impl Hash for FunctionAttribute
source§impl Ord for FunctionAttribute
impl Ord for FunctionAttribute
source§fn cmp(&self, other: &FunctionAttribute) -> Ordering
fn cmp(&self, other: &FunctionAttribute) -> 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 for FunctionAttribute
impl PartialEq for FunctionAttribute
source§fn eq(&self, other: &FunctionAttribute) -> bool
fn eq(&self, other: &FunctionAttribute) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for FunctionAttribute
impl PartialOrd for FunctionAttribute
source§fn partial_cmp(&self, other: &FunctionAttribute) -> Option<Ordering>
fn partial_cmp(&self, other: &FunctionAttribute) -> 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 moresource§impl Serialize for FunctionAttribute
impl Serialize for FunctionAttribute
impl Eq for FunctionAttribute
impl StructuralEq for FunctionAttribute
impl StructuralPartialEq for FunctionAttribute
Auto Trait Implementations§
impl RefUnwindSafe for FunctionAttribute
impl Send for FunctionAttribute
impl Sync for FunctionAttribute
impl Unpin for FunctionAttribute
impl UnwindSafe for FunctionAttribute
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