aclmdlRITaskGetSeqId
Note: This API is for trial use and may be changed in later versions. It is not available in production environments.
Applicable Products
Product |
Supported |
|---|---|
☓ |
|
√ |
|
√ |
|
☓ |
|
☓ |
|
☓ |
Function
Obtains the task sequence ID.
Before calling this API to obtain the sequence ID of a specified task, call aclmdlRIGetTasksByStream to obtain all tasks in the specified stream.
Prototype
1 | aclError aclmdlRITaskGetSeqId(aclmdlRITask task, uint32_t *id) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
task |
Input |
Task. For details about the type definition, see aclmdlRITask. |
id |
Output |
Task sequence ID. |
Returns
0 on success; otherwise, failure. For details, see aclError.
Restrictions
This API does not support concurrent calls for the same model running instance.