aclrtGetOpExecuteTimeout
Applicable Products
Product |
Supported |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function
Obtains the timeout interval of AI Core operator execution.
If AI Core operators never time out, the output value of the timeoutMs parameter is the maximum value of uint32_t.
Prototype
1 | aclError aclrtGetOpExecuteTimeout(uint32_t *const timeoutMs) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
timeoutMs |
Output |
Timeout interval, in milliseconds. If the timeout interval has been set by calling a set API (for example, aclrtSetOpExecuteTimeOut), the actual timeout interval of the hardware is returned. Otherwise, the default timeout interval of AI Core is returned. |
Returns
0 on success; otherwise, failure. For details, see aclError.