#[repr(transparent)]pub struct CUgraphNodeType_enum(pub c_uint);
Expand description
Graph node types
Tuple Fields§
§0: c_uint
Implementations§
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
Source§impl CUgraphNodeType_enum
impl CUgraphNodeType_enum
Sourcepub const CU_GRAPH_NODE_TYPE_MEMCPY: CUgraphNodeType_enum
pub const CU_GRAPH_NODE_TYPE_MEMCPY: CUgraphNodeType_enum
< Memcpy node
Source§impl CUgraphNodeType_enum
impl CUgraphNodeType_enum
Sourcepub const CU_GRAPH_NODE_TYPE_MEMSET: CUgraphNodeType_enum
pub const CU_GRAPH_NODE_TYPE_MEMSET: CUgraphNodeType_enum
< Memset node
Source§impl CUgraphNodeType_enum
impl CUgraphNodeType_enum
Sourcepub const CU_GRAPH_NODE_TYPE_HOST: CUgraphNodeType_enum
pub const CU_GRAPH_NODE_TYPE_HOST: CUgraphNodeType_enum
< Host (executable) node
Source§impl CUgraphNodeType_enum
impl CUgraphNodeType_enum
Sourcepub const CU_GRAPH_NODE_TYPE_GRAPH: CUgraphNodeType_enum
pub const CU_GRAPH_NODE_TYPE_GRAPH: CUgraphNodeType_enum
< Node which executes an embedded graph
Source§impl CUgraphNodeType_enum
impl CUgraphNodeType_enum
Sourcepub const CU_GRAPH_NODE_TYPE_EMPTY: CUgraphNodeType_enum
pub const CU_GRAPH_NODE_TYPE_EMPTY: CUgraphNodeType_enum
< Empty (no-op) node
Source§impl CUgraphNodeType_enum
impl CUgraphNodeType_enum
Sourcepub const CU_GRAPH_NODE_TYPE_WAIT_EVENT: CUgraphNodeType_enum
pub const CU_GRAPH_NODE_TYPE_WAIT_EVENT: CUgraphNodeType_enum
< External event wait node
Source§impl CUgraphNodeType_enum
impl CUgraphNodeType_enum
Sourcepub const CU_GRAPH_NODE_TYPE_EVENT_RECORD: CUgraphNodeType_enum
pub const CU_GRAPH_NODE_TYPE_EVENT_RECORD: CUgraphNodeType_enum
< External event record node
Source§impl CUgraphNodeType_enum
impl CUgraphNodeType_enum
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
Source§impl CUgraphNodeType_enum
impl CUgraphNodeType_enum
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
Source§impl CUgraphNodeType_enum
impl CUgraphNodeType_enum
Sourcepub const CU_GRAPH_NODE_TYPE_MEM_ALLOC: CUgraphNodeType_enum
pub const CU_GRAPH_NODE_TYPE_MEM_ALLOC: CUgraphNodeType_enum
< Memory Allocation Node
Source§impl CUgraphNodeType_enum
impl CUgraphNodeType_enum
Sourcepub const CU_GRAPH_NODE_TYPE_MEM_FREE: CUgraphNodeType_enum
pub const CU_GRAPH_NODE_TYPE_MEM_FREE: CUgraphNodeType_enum
< Memory Free Node
Source§impl CUgraphNodeType_enum
impl CUgraphNodeType_enum
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
Source§impl CUgraphNodeType_enum
impl CUgraphNodeType_enum
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.
Trait Implementations§
Source§impl Clone for CUgraphNodeType_enum
impl Clone for CUgraphNodeType_enum
Source§fn clone(&self) -> CUgraphNodeType_enum
fn clone(&self) -> CUgraphNodeType_enum
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more