pub unsafe extern "C" fn hipStreamBeginCapture(
    stream: *mut ihipStream_t,
    mode: hipStreamCaptureMode
) -> hipError_t
Expand description

@brief Begins graph capture on a stream.

@param [in] stream - Stream to initiate capture. @param [in] mode - Controls the interaction of this capture sequence with other API calls that are not safe.

@returns #hipSuccess, #hipErrorInvalidValue

@warning : This API is marked as beta, meaning, while this is feature complete, it is still open to changes and may have outstanding issues.