aclmdlRIExecuteAsync
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 |
√ |
|
|
√ |
|
|
√ |
|
|
☓ |
|
|
√ |
|
|
☓ |
Description
Executes the model. This API is asynchronous.
Prototype
1
|
aclError aclmdlRIExecuteAsync(aclmdlRI modelRI, aclrtStream stream) |
Parameters
|
Parameter |
Input/Output |
Description |
|---|---|---|
|
modelRI |
Input |
Model running instance. For details about the type definition, see aclmdlRI. Obtain a modelRI in either of the following ways:
|
|
stream |
Input |
Stream for executing the model inference task. For details about the type definition, see aclrtStream. |
Returns
0 on success; otherwise, failure. For details, see aclError.