#[repr(transparent)]pub struct CUgraphNodeType_enum(pub c_uint);Expand description
Graph node types.
Tuple Fields§
§0: c_uintImplementations§
Source§impl CUgraphNodeType_enum
impl CUgraphNodeType_enum
Sourcepub const CU_GRAPH_NODE_TYPE_KERNEL: CUgraphNodeType_enum
pub const CU_GRAPH_NODE_TYPE_KERNEL: CUgraphNodeType_enum
GPU kernel node.
Sourcepub const CU_GRAPH_NODE_TYPE_MEMCPY: CUgraphNodeType_enum
pub const CU_GRAPH_NODE_TYPE_MEMCPY: CUgraphNodeType_enum
Memcpy node.
Sourcepub const CU_GRAPH_NODE_TYPE_MEMSET: CUgraphNodeType_enum
pub const CU_GRAPH_NODE_TYPE_MEMSET: CUgraphNodeType_enum
Memset node.
Sourcepub const CU_GRAPH_NODE_TYPE_HOST: CUgraphNodeType_enum
pub const CU_GRAPH_NODE_TYPE_HOST: CUgraphNodeType_enum
Host (executable) node.
Sourcepub const CU_GRAPH_NODE_TYPE_GRAPH: CUgraphNodeType_enum
pub const CU_GRAPH_NODE_TYPE_GRAPH: CUgraphNodeType_enum
Node which executes an embedded graph.
Sourcepub const CU_GRAPH_NODE_TYPE_EMPTY: CUgraphNodeType_enum
pub const CU_GRAPH_NODE_TYPE_EMPTY: CUgraphNodeType_enum
Empty (no-op) node.
Sourcepub const CU_GRAPH_NODE_TYPE_WAIT_EVENT: CUgraphNodeType_enum
pub const CU_GRAPH_NODE_TYPE_WAIT_EVENT: CUgraphNodeType_enum
External event wait node.
Sourcepub const CU_GRAPH_NODE_TYPE_EVENT_RECORD: CUgraphNodeType_enum
pub const CU_GRAPH_NODE_TYPE_EVENT_RECORD: CUgraphNodeType_enum
External event record node.
Sourcepub const CU_GRAPH_NODE_TYPE_EXT_SEMAS_SIGNAL: CUgraphNodeType_enum
pub const CU_GRAPH_NODE_TYPE_EXT_SEMAS_SIGNAL: CUgraphNodeType_enum
External semaphore signal node.
Sourcepub const CU_GRAPH_NODE_TYPE_EXT_SEMAS_WAIT: CUgraphNodeType_enum
pub const CU_GRAPH_NODE_TYPE_EXT_SEMAS_WAIT: CUgraphNodeType_enum
External semaphore wait node.
Sourcepub const CU_GRAPH_NODE_TYPE_MEM_ALLOC: CUgraphNodeType_enum
pub const CU_GRAPH_NODE_TYPE_MEM_ALLOC: CUgraphNodeType_enum
Memory Allocation Node.
Sourcepub const CU_GRAPH_NODE_TYPE_MEM_FREE: CUgraphNodeType_enum
pub const CU_GRAPH_NODE_TYPE_MEM_FREE: CUgraphNodeType_enum
Memory Free Node.
Sourcepub const CU_GRAPH_NODE_TYPE_BATCH_MEM_OP: CUgraphNodeType_enum
pub const CU_GRAPH_NODE_TYPE_BATCH_MEM_OP: CUgraphNodeType_enum
Batch MemOp Node See cuStreamBatchMemOp and CUstreamBatchMemOpType for what these nodes can do.
Sourcepub const CU_GRAPH_NODE_TYPE_CONDITIONAL: CUgraphNodeType_enum
pub const CU_GRAPH_NODE_TYPE_CONDITIONAL: CUgraphNodeType_enum
Conditional Node.
May be used to implement a conditional execution path or loop
inside of a graph. The graph(s) contained within the body of the conditional node
can be selectively executed or iterated upon based on the value of a conditional
variable.
Handles must be created in advance of creating the node
using ::cuGraphConditionalHandleCreate.
The following restrictions apply to graphs which contain conditional nodes:
The graph cannot be used in a child node.
Only one instantiation of the graph may exist at any point in time.
The graph cannot be cloned.
To set the control value, supply a default value when creating the handle and/or
call ::cudaGraphSetConditional from device code.Sourcepub const CU_GRAPH_NODE_TYPE_RESERVED_16: CUgraphNodeType_enum
pub const CU_GRAPH_NODE_TYPE_RESERVED_16: CUgraphNodeType_enum
Reserved.
Trait Implementations§
Source§impl Clone for CUgraphNodeType_enum
impl Clone for CUgraphNodeType_enum
impl Copy for CUgraphNodeType_enum
Source§impl Debug for CUgraphNodeType_enum
impl Debug for CUgraphNodeType_enum
impl Eq for CUgraphNodeType_enum
Source§impl Hash for CUgraphNodeType_enum
impl Hash for CUgraphNodeType_enum
Source§impl Ord for CUgraphNodeType_enum
impl Ord for CUgraphNodeType_enum
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for CUgraphNodeType_enum
impl PartialEq for CUgraphNodeType_enum
Source§impl PartialOrd for CUgraphNodeType_enum
impl PartialOrd for CUgraphNodeType_enum
impl StructuralPartialEq for CUgraphNodeType_enum
Auto Trait Implementations§
impl Forget for CUgraphNodeType_enum
impl Freeze for CUgraphNodeType_enum
impl Move for CUgraphNodeType_enum
impl RefUnwindSafe for CUgraphNodeType_enum
impl Send for CUgraphNodeType_enum
impl Sync for CUgraphNodeType_enum
impl Unpin for CUgraphNodeType_enum
impl UnsafeUnpin for CUgraphNodeType_enum
impl UnwindSafe for CUgraphNodeType_enum
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