#[repr(transparent)]pub struct cudaGraphNodeType(pub c_uint);
Expand description
CUDA Graph node types
Tuple Fields§
§0: c_uint
Implementations§
Source§impl cudaGraphNodeType
impl cudaGraphNodeType
Sourcepub const cudaGraphNodeTypeKernel: cudaGraphNodeType
pub const cudaGraphNodeTypeKernel: cudaGraphNodeType
< GPU kernel node
Source§impl cudaGraphNodeType
impl cudaGraphNodeType
Sourcepub const cudaGraphNodeTypeMemcpy: cudaGraphNodeType
pub const cudaGraphNodeTypeMemcpy: cudaGraphNodeType
< Memcpy node
Source§impl cudaGraphNodeType
impl cudaGraphNodeType
Sourcepub const cudaGraphNodeTypeMemset: cudaGraphNodeType
pub const cudaGraphNodeTypeMemset: cudaGraphNodeType
< Memset node
Source§impl cudaGraphNodeType
impl cudaGraphNodeType
Sourcepub const cudaGraphNodeTypeHost: cudaGraphNodeType
pub const cudaGraphNodeTypeHost: cudaGraphNodeType
< Host (executable) node
Source§impl cudaGraphNodeType
impl cudaGraphNodeType
Sourcepub const cudaGraphNodeTypeGraph: cudaGraphNodeType
pub const cudaGraphNodeTypeGraph: cudaGraphNodeType
< Node which executes an embedded graph
Source§impl cudaGraphNodeType
impl cudaGraphNodeType
Sourcepub const cudaGraphNodeTypeEmpty: cudaGraphNodeType
pub const cudaGraphNodeTypeEmpty: cudaGraphNodeType
< Empty (no-op) node
Source§impl cudaGraphNodeType
impl cudaGraphNodeType
Sourcepub const cudaGraphNodeTypeWaitEvent: cudaGraphNodeType
pub const cudaGraphNodeTypeWaitEvent: cudaGraphNodeType
< External event wait node
Source§impl cudaGraphNodeType
impl cudaGraphNodeType
Sourcepub const cudaGraphNodeTypeEventRecord: cudaGraphNodeType
pub const cudaGraphNodeTypeEventRecord: cudaGraphNodeType
< External event record node
Source§impl cudaGraphNodeType
impl cudaGraphNodeType
Sourcepub const cudaGraphNodeTypeExtSemaphoreSignal: cudaGraphNodeType
pub const cudaGraphNodeTypeExtSemaphoreSignal: cudaGraphNodeType
< External semaphore signal node
Source§impl cudaGraphNodeType
impl cudaGraphNodeType
Sourcepub const cudaGraphNodeTypeExtSemaphoreWait: cudaGraphNodeType
pub const cudaGraphNodeTypeExtSemaphoreWait: cudaGraphNodeType
< External semaphore wait node
Source§impl cudaGraphNodeType
impl cudaGraphNodeType
Sourcepub const cudaGraphNodeTypeMemAlloc: cudaGraphNodeType
pub const cudaGraphNodeTypeMemAlloc: cudaGraphNodeType
< Memory allocation node
Source§impl cudaGraphNodeType
impl cudaGraphNodeType
Sourcepub const cudaGraphNodeTypeMemFree: cudaGraphNodeType
pub const cudaGraphNodeTypeMemFree: cudaGraphNodeType
< Memory free node
Source§impl cudaGraphNodeType
impl cudaGraphNodeType
Sourcepub const cudaGraphNodeTypeConditional: cudaGraphNodeType
pub const cudaGraphNodeTypeConditional: cudaGraphNodeType
< 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 ::cudaGraphConditionalHandleCreate.
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 cudaGraphNodeType
impl Clone for cudaGraphNodeType
Source§fn clone(&self) -> cudaGraphNodeType
fn clone(&self) -> cudaGraphNodeType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more