Function: process_report
|
C Prototype |
aclError aclrtProcessReport(int32_t timeout) |
|---|---|
|
Python Function |
ret = acl.rt.process_report(timeout) |
|
Function Usage |
In asynchronous task scenarios, call this API to set the timeout interval and wait for the callback task delivered by acl.rt.launch_callback to be executed.
This API must be work with the following APIs to implement the callback function in asynchronous scenarios:
|
|
Input Description |
timeout: int, timeout interval, in milliseconds. The value can be as follows:
|
|
Return Value |
ret: int, error code.
|
|
Restrictions |
None |
|
Reference |
Parent topic: Execution Control