cubecl_hip_sys

Function hipStreamIsCapturing

Source
pub unsafe extern "C" fn hipStreamIsCapturing(
    stream: hipStream_t,
    pCaptureStatus: *mut hipStreamCaptureStatus,
) -> hipError_t
Expand description

@brief Get stream’s capture state

@param [in] stream - Stream under capture. @param [out] pCaptureStatus - returns current status of the capture.

@returns #hipSuccess, #hipErrorInvalidValue, #hipErrorStreamCaptureImplicit

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