aclmdlRICaptureTaskGrpEnd

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

Marks the end of a task group.

This API and aclmdlRICaptureTaskGrpBegin are used in pairs. Tasks between the two APIs form a task group. Currently, only single-operator tasks can be delivered between the two APIs.

Prototype

aclError aclmdlRICaptureTaskGrpEnd(aclrtStream stream, aclrtTaskGrp *handle)

Parameters

Parameter

Input/Output

Description

stream

Input

Stream.

The stream must be the same as that specified in aclmdlRICaptureTaskGrpBegin.

handle

Output

Handle to a task group.

Returns

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