Unsubscribes from a thread so that the callback function in a stream will no longer be handled by the thread. This API is synchronous.
aclError aclrtUnSubscribeReport(uint64_t threadId, aclrtStream stream)
Parameter |
Input/Output |
Description |
|---|---|---|
threadId |
Input |
Thread ID. |
stream |
Input |
Stream. |
0 on success; else, failure.