#[non_exhaustive]pub enum GraphKernelNodeAttribute {
Cooperative(bool),
ClusterDimension(Dim3),
Priority(i32),
PreferredSharedMemoryCarveout(u32),
}Expand description
Typed launch attributes stored on a CUDA graph kernel node.
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.
Cooperative(bool)
Enables or disables a cooperative kernel launch.
ClusterDimension(Dim3)
Sets the thread-block cluster dimensions.
Priority(i32)
Sets the scheduling priority hint for this kernel node.
Sets the preferred percentage of shared memory in the shared-memory/L1 partition.
Trait Implementations§
Source§impl Clone for GraphKernelNodeAttribute
impl Clone for GraphKernelNodeAttribute
impl Copy for GraphKernelNodeAttribute
Source§impl Debug for GraphKernelNodeAttribute
impl Debug for GraphKernelNodeAttribute
impl Eq for GraphKernelNodeAttribute
Source§impl Hash for GraphKernelNodeAttribute
impl Hash for GraphKernelNodeAttribute
Source§impl PartialEq for GraphKernelNodeAttribute
impl PartialEq for GraphKernelNodeAttribute
impl StructuralPartialEq for GraphKernelNodeAttribute
Auto Trait Implementations§
impl Forget for GraphKernelNodeAttribute
impl Freeze for GraphKernelNodeAttribute
impl Move for GraphKernelNodeAttribute
impl RefUnwindSafe for GraphKernelNodeAttribute
impl Send for GraphKernelNodeAttribute
impl Sync for GraphKernelNodeAttribute
impl Unpin for GraphKernelNodeAttribute
impl UnsafeUnpin for GraphKernelNodeAttribute
impl UnwindSafe for GraphKernelNodeAttribute
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.