pub unsafe extern "C" fn cuStreamUpdateCaptureDependencies_v2(
hStream: CUstream,
dependencies: *mut CUgraphNode,
dependencyData: *const CUgraphEdgeData,
numDependencies: usize,
flags: c_uint,
) -> CUresult
Expand description
\brief Update the set of dependencies in a capturing stream (12.3+)
Modifies the dependency set of a capturing stream. The dependency set is the set of nodes that the next captured node in the stream will depend on along with the edge data for those dependencies.
Valid flags are ::CU_STREAM_ADD_CAPTURE_DEPENDENCIES and ::CU_STREAM_SET_CAPTURE_DEPENDENCIES. These control whether the set passed to the API is added to the existing set or replaces it. A flags value of 0 defaults to ::CU_STREAM_ADD_CAPTURE_DEPENDENCIES.
Nodes that are removed from the dependency set via this API do not result in ::CUDA_ERROR_STREAM_CAPTURE_UNJOINED if they are unreachable from the stream at ::cuStreamEndCapture.
Returns ::CUDA_ERROR_ILLEGAL_STATE if the stream is not capturing.
\param hStream - The stream to update \param dependencies - The set of dependencies to add \param dependencyData - Optional array of data associated with each dependency. \param numDependencies - The size of the dependencies array \param flags - See above
\return ::CUDA_SUCCESS, ::CUDA_ERROR_INVALID_VALUE, ::CUDA_ERROR_ILLEGAL_STATE
\sa ::cuStreamBeginCapture, ::cuStreamGetCaptureInfo,