aclrtUnSubscribeReport

Description

Unsubscribes from a thread so that the callback function in a stream will no longer be handled by the thread. This API is synchronous.

Prototype

aclError aclrtUnSubscribeReport(uint64_t threadId, aclrtStream stream)

Parameters

Parameter

Input/Output

Description

threadId

Input

Thread ID.

stream

Input

Stream.

Returns

0 on success; else, failure.

See Also