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§impl PartialOrd for FunctionAttribute
impl PartialOrd for FunctionAttribute
Source§impl Serialize for FunctionAttribute
impl Serialize for FunctionAttribute
impl Eq for FunctionAttribute
impl StructuralPartialEq for FunctionAttribute
Auto Trait Implementations§
impl Freeze for FunctionAttribute
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