Function rcudnn::cudaGraphLaunch [−][src]
pub unsafe extern "C" fn cudaGraphLaunch(
graphExec: *mut CUgraphExec_st,
stream: *mut CUstream_st
) -> cudaError
Expand description
\brief Launches an executable graph in a stream
Executes \p graphExec in \p stream. Only one instance of \p graphExec may be executing at a time. Each launch is ordered behind both any previous work in \p stream and any previous launches of \p graphExec. To execute a graph concurrently, it must be instantiated multiple times into multiple executable graphs.
If any allocations created by \p graphExec remain unfreed (from a previous launch) and \p graphExec was not instantiated with ::cudaGraphInstantiateFlagAutoFreeOnLaunch, the launch will fail with ::cudaErrorInvalidValue.
\param graphExec - Executable graph to launch \param stream - Stream in which to launch the graph
\return ::cudaSuccess, ::cudaErrorInvalidValue \note_graph_thread_safety \notefnerr \note_init_rt \note_callback
\sa ::cudaGraphInstantiate, ::cudaGraphUpload, ::cudaGraphExecDestroy