Function: subscribe_report
|
C Prototype |
aclError aclrtSubscribeReport(uint64_t threadId, aclrtStream stream) |
|---|---|
|
Python Function |
ret = acl.rt.subscribe_report(thread_id, stream) |
|
Function Usage |
Specifies the thread that processes the callback function in the stream in the asynchronous task scenario.
This API must be work with the following APIs to implement the callback function in asynchronous scenarios:
|
|
Input Description |
thread_id: int, thread ID. stream: int, pointer address of the stream to be processed. |
|
Return Value |
ret: int, error code.
|
|
Restrictions |
|
|
Reference |