Product |
Supported (√/x) |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Sets the timeout interval (in seconds) for operator execution. If this API is called multiple times in a process, the last configured timeout is used. If a timeout interval is carried during operator delivery, the timeout interval takes precedence over the timeout interval set by this API.
1 | aclError aclrtSetOpExecuteTimeOut(uint32_t timeout) |
1 | ret = acl.rt.set_op_execute_time_out(timeout) |
Parameter |
Description |
|---|---|
timeout |
Int, timeout interval, in seconds. 0 means to use the maximum timeout interval. |
Return Value |
Description |
|---|---|
ret |
Int, error code. 0 on success; else, failure. |
Version |
Default Timeout Interval of AI Core Operators |
Default Timeout Interval of AI CPU Operators |
|---|---|---|
1,091 seconds |
28 seconds |
|
547 seconds |
28 seconds |
|
68 seconds |
28 seconds |
|
1,091 seconds |
28 seconds |
|
1,091 seconds |
28 seconds |
|
1,091 seconds |
60 |
Version |
Maximum Timeout Interval of AI Core Operators |
Maximum Timeout Interval of AI CPU Operators |
|---|---|---|
547 seconds |
Not supported |
|
2,176 seconds |
2,176 seconds |
|
1,091 seconds |
1,091 seconds |
|
1,091 seconds |
1,091 seconds |
|
1,091 seconds |
1,091 seconds |