aclmdlRICaptureGetInfo

Note: This feature is for trial use and may be changed in later versions. It is not available in commercial products.

Applicability

Product

Supported

Atlas A3 training products/Atlas A3 inference products

Atlas A2 training products/Atlas A2 inference products

Atlas 200I/500 A2 inference products

Atlas inference products

Atlas training products

Description

Obtains the capture information of a stream, including the capture status and model running instance.

Prototype

aclError aclmdlRICaptureGetInfo(aclrtStream stream, aclmdlRICaptureStatus *status, aclmdlRI *modelRI)

Parameters

Parameter

Input/Output

Description

stream

Input

Stream.

status

Output

Capture status of tasks on the stream.

modelRI

Output

Running instance of the model that is used to temporarily store the captured tasks.

If the stream specified by this API is not in the capture state, the value of modelRI returned is invalid.

Returns

0 on success; else, failure. For details, see aclError.