cubecl_hip_sys

Function hipStreamGetCaptureInfo_v2

Source
pub unsafe extern "C" fn hipStreamGetCaptureInfo_v2(
    stream: hipStream_t,
    captureStatus_out: *mut hipStreamCaptureStatus,
    id_out: *mut c_ulonglong,
    graph_out: *mut hipGraph_t,
    dependencies_out: *mut *const hipGraphNode_t,
    numDependencies_out: *mut usize,
) -> hipError_t
Expand description

@brief Get stream’s capture state

@param [in] stream - Stream under capture. @param [out] captureStatus_out - returns current status of the capture. @param [out] id_out - unique ID of the capture. @param [in] graph_out - returns the graph being captured into. @param [out] dependencies_out - returns pointer to an array of nodes. @param [out] numDependencies_out - returns size of the array returned in dependencies_out.

@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.