aclmdlRIExecuteAsync
Note: This feature is for trial use and may be changed in later versions. It is not available in commercial products.
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
☓ |
|
☓ |
|
☓ |
Description
Runs model inference. This API is asynchronous.
Prototype
aclError aclmdlRIExecuteAsync(aclmdlRI modelRI, aclrtStream stream)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
modelRI |
Input |
Model running instance. Obtain a modelRI in either of the following ways:
|
stream |
Input |
Stream for executing the model inference task. |
Returns
0 on success; else, failure. For details, see aclError.
Parent topic: Model Running Instance Management