pub unsafe extern "C" fn cuGraphConditionalHandleCreate(
pHandle_out: *mut CUgraphConditionalHandle,
hGraph: CUgraph,
ctx: CUcontext,
defaultLaunchValue: c_uint,
flags: c_uint,
) -> CUresult
Expand description
\brief Create a conditional handle
Creates a conditional handle associated with \p hGraph.
The conditional handle must be associated with a conditional node in this graph or one of its children.
Handles not associated with a conditional node may cause graph instantiation to fail.
Handles can only be set from the context with which they are associated.
\param pHandle_out - Pointer used to return the handle to the caller. \param hGraph - Graph which will contain the conditional node using this handle. \param ctx - Context for the handle and associated conditional node. \param defaultLaunchValue - Optional initial value for the conditional variable. \param flags - Currently must be CU_GRAPH_COND_ASSIGN_DEFAULT or 0.
\return ::CUDA_SUCCESS, ::CUDA_ERROR_INVALID_VALUE, ::CUDA_ERROR_NOT_SUPPORTED \note_graph_thread_safety \notefnerr
\sa ::cuGraphAddNode