#[repr(C)]pub struct cudaConditionalNodeParams {
pub handle: cudaGraphConditionalHandle,
pub type_: cudaGraphConditionalNodeType,
pub size: c_uint,
pub phGraph_out: *mut cudaGraph_t,
}
Expand description
CUDA conditional node parameters
Fields§
§handle: cudaGraphConditionalHandle
< Conditional node handle. Handles must be created in advance of creating the node using ::cudaGraphConditionalHandleCreate.
type_: cudaGraphConditionalNodeType
< Type of conditional node.
size: c_uint
< Size of graph output array. Must be 1.
phGraph_out: *mut cudaGraph_t
< CUDA-owned array populated with conditional node child graphs during creation of the node. Valid for the lifetime of the conditional node. The contents of the graph(s) are subject to the following constraints:
- Allowed node types are kernel nodes, empty nodes, child graphs, memsets, memcopies, and conditionals. This applies recursively to child graphs and conditional bodies.
- All kernels, including kernels in nested conditionals or child graphs at any level, must belong to the same CUDA context.
These graphs may be populated using graph node creation APIs or ::cudaStreamBeginCaptureToGraph.
Trait Implementations§
Source§impl Clone for cudaConditionalNodeParams
impl Clone for cudaConditionalNodeParams
Source§fn clone(&self) -> cudaConditionalNodeParams
fn clone(&self) -> cudaConditionalNodeParams
Returns a duplicate of the value. Read more
1.0.0 · 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 cudaConditionalNodeParams
impl Debug for cudaConditionalNodeParams
impl Copy for cudaConditionalNodeParams
Auto Trait Implementations§
impl Freeze for cudaConditionalNodeParams
impl RefUnwindSafe for cudaConditionalNodeParams
impl !Send for cudaConditionalNodeParams
impl !Sync for cudaConditionalNodeParams
impl Unpin for cudaConditionalNodeParams
impl UnwindSafe for cudaConditionalNodeParams
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