pub unsafe extern "C" fn hipStreamBeginCaptureToGraph(
stream: hipStream_t,
graph: hipGraph_t,
dependencies: *const hipGraphNode_t,
dependencyData: *const hipGraphEdgeData,
numDependencies: usize,
mode: hipStreamCaptureMode,
) -> hipError_t
Expand description
@brief Begins graph capture on a stream to an existing graph.
@param [in] stream - Stream to initiate capture. @param [in] graph - Graph to capture into. @param [in] dependencies - Dependencies of the first node captured in the stream. Can be NULL if numDependencies is 0. @param [in] dependencyData - Optional array of data associated with each dependency. @param [in] numDependencies - Number of dependencies. @param [in] mode - Controls the interaction of this capture sequence with other API calls that are not safe.
@returns #hipSuccess, #hipErrorInvalidValue
@warning : param “const hipGraphEdgeData* dependencyData” is currently not supported and has to passed as nullptr. This API is marked as beta, meaning, while this is feature complete, it is still open to changes and may have outstanding issues.