aclrtSetOpExecuteTimeOutV2
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Description
Sets the timeout (in microseconds) for operator execution.
Prototype
aclError aclrtSetOpExecuteTimeOutV2(uint64_t timeout, uint64_t *actualTimeout)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
timeout |
Input |
Timeout, in microseconds. 0 means using the maximum timeout. |
actualTimeout |
Output |
Actual timeout, in microseconds. For the following product models, only the timeout of AI Core operators can be obtained: |
Returns
0 on success; else, failure. For details, see aclError.
Parent topic: Execution Control