Compile-time definitions in ethosu_driver.h.
More...
Macros | |
| #define | ETHOSU_SEMAPHORE_WAIT_INFERENCE ETHOSU_SEMAPHORE_WAIT_FOREVER |
| Timeout used while waiting for inference completion. | |
| #define | ETHOSU_SEMAPHORE_WAIT_FOREVER (UINT64_MAX) |
| Value used to request an indefinite semaphore wait. | |
Compile-time definitions in ethosu_driver.h.
| #define ETHOSU_SEMAPHORE_WAIT_INFERENCE ETHOSU_SEMAPHORE_WAIT_FOREVER |
Timeout used while waiting for inference completion.
This value is passed to ethosu_semaphore_take when ethosu_wait blocks for inference completion. Its unit and interpretation are defined by the platform semaphore implementation. Define it at compile time to select a finite timeout. It defaults to ETHOSU_SEMAPHORE_WAIT_FOREVER.
| #define ETHOSU_SEMAPHORE_WAIT_FOREVER (UINT64_MAX) |
Value used to request an indefinite semaphore wait.
This value is defined as UINT64_MAX. A platform implementation of ethosu_semaphore_take must interpret it as no timeout. The driver also uses this value while waiting for an NPU driver instance to become available.