aclrtSetLabel
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Description
Sets a label on a stream.
Prototype
1 | aclError aclrtSetLabel(aclrtLabel label, aclrtStream stream) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
label |
Input |
Label. For details about the type definition, see aclrtLabel. Use a label created by calling the aclrtCreateLabel API as the input. |
stream |
Input |
Stream on which a label needs to be set. For details about the type definition, see aclrtStream. Only a stream bound to a model runtime instance by calling the aclmdlRIBindStream API is supported. |
Returns
0 on success; otherwise, failure. For details, see aclError.
Parent topic: Label Management