aclmdlRICaptureTaskGrpEnd

Applicable Products

Product

Supported

Ascend 950PR / Ascend 950DT

Atlas A3 training products / Atlas A3 inference products

Atlas A2 training products / Atlas A2 inference products

Atlas 200I/500 A2 inference products

x

Atlas inference products

Atlas training products

x

Function

Marks the end of a task group.

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

Prototype

1
aclError aclmdlRICaptureTaskGrpEnd(aclrtStream stream, aclrtTaskGrp *handle)

Parameters

Parameter

Input/Output

Description

stream

Input

Stream. For details about the type definition, see aclrtStream.

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

handle

Output

Handle to a task group. For details about the type definition, see aclrtTaskGrp.

Returns

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

API Call Example

For the API call example, see Task Update.