aclmdlRICaptureTaskUpdateEnd

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

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product / Atlas A3 inference product

Atlas A2 training product / Atlas A2 inference product

Atlas 200I/500 A2 inference product

Atlas inference product

Atlas training product

Description

Marks the end of the tasks to be updated.

This API and aclmdlRICaptureTaskUpdateBegin are used in pairs. The tasks between these two APIs need to be updated.

Prototype

1
aclError aclmdlRICaptureTaskUpdateEnd(aclrtStream stream)

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

Returns

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

This task update API is asynchronous. Returning a success message does not necessarily mean that the tasks have been updated.

Restrictions

A maximum of 1,024 × 1,024 tasks can be updated at the same time on a single device. If there are more tasks, an error is reported during task execution.

API Call Example

For the API call example, see Task Update.