#[non_exhaustive]#[repr(u32)]pub enum CUgraphNodeType {
Kernel = 0,
Memcpy = 1,
Memset = 2,
Host = 3,
Graph = 4,
Empty = 5,
}Expand description
Type of a graph node, as reported by cuGraphNodeGetType.
Mirrors CUgraphNodeType in cuda.h. Provided for completeness and
node-type queries; cuGraphAdd*Node calls do not require it.
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.
Kernel = 0
GPU kernel-launch node.
Memcpy = 1
Memory-copy node.
Memset = 2
Memory-set node.
Host = 3
Host (CPU) callback node.
Graph = 4
Node that executes an embedded child graph.
Empty = 5
Empty (no-op) node used as a synchronisation barrier.
Trait Implementations§
Source§impl Clone for CUgraphNodeType
impl Clone for CUgraphNodeType
Source§fn clone(&self) -> CUgraphNodeType
fn clone(&self) -> CUgraphNodeType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CUgraphNodeType
impl Debug for CUgraphNodeType
Source§impl Hash for CUgraphNodeType
impl Hash for CUgraphNodeType
Source§impl PartialEq for CUgraphNodeType
impl PartialEq for CUgraphNodeType
Source§fn eq(&self, other: &CUgraphNodeType) -> bool
fn eq(&self, other: &CUgraphNodeType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CUgraphNodeType
impl Eq for CUgraphNodeType
impl StructuralPartialEq for CUgraphNodeType
Auto Trait Implementations§
impl Freeze for CUgraphNodeType
impl RefUnwindSafe for CUgraphNodeType
impl Send for CUgraphNodeType
impl Sync for CUgraphNodeType
impl Unpin for CUgraphNodeType
impl UnsafeUnpin for CUgraphNodeType
impl UnwindSafe for CUgraphNodeType
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