aclrtSetLabel

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

Sets a label on a stream.

Prototype

aclError aclrtSetLabel(aclrtLabel label, aclrtStream stream)

Parameters

Parameter

Input/Output

Description

label

Input

Label.

Use a label created by calling the aclrtCreateLabel API as the input.

stream

Input

Stream on which the label will be set. Only a stream bound to a model running instance by calling the aclmdlRIBindStream API is supported.

Returns

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