aclrtSetOpExecuteTimeOutWithMs
Applicable Products
Product |
Supported |
|---|---|
☓ |
|
☓ |
|
☓ |
|
☓ |
|
☓ |
|
☓ |
Function
Sets the timeout interval (in milliseconds) for operator execution.
Prototype
1 | aclError aclrtSetOpExecuteTimeOutWithMs(uint32_t timeout) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
timeout |
Input |
Timeout interval, in milliseconds. 0 means to use the maximum timeout interval. |
Returns
0 on success; otherwise, failure. For details, see aclError.
Parent topic: Execution Control