aclmdlRICaptureTaskGrpBegin

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

Atlas inference products

Atlas training products

Function

Marks the start of a task group.

This API and aclmdlRICaptureTaskGrpEnd 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.

If ACL_ERROR_RT_TASK_TYPE_NOT_SUPPORT is returned when a task is delivered, the single-operator task is not supported. You can view the detailed error information in application logs.

Prototype

1
aclError aclmdlRICaptureTaskGrpBegin(aclrtStream stream)

Parameters

Parameter

Input/Output

Description

stream

Input

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

The stream must be in the capture state.

Returns

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

API Call Example

For the API call example, see Task Update.