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 Clone for FunctionAttribute
impl Clone for FunctionAttribute
source§fn clone(&self) -> FunctionAttribute
fn clone(&self) -> FunctionAttribute
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 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 PartialEq<FunctionAttribute> for FunctionAttribute
impl PartialEq<FunctionAttribute> 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 ==.