aclrtSetOpExecuteTimeOutV2
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Description
Sets the timeout (in microseconds) for operator execution.
Prototype
1 | aclError aclrtSetOpExecuteTimeOutV2(uint64_t timeout, uint64_t *actualTimeout) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
timeout |
Input |
Timeout, in microseconds. 0 means to use the maximum timeout interval. |
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