aclrtDestroyStream

Description

Destroys a stream created by the aclrtCreateStream or aclrtCreateStreamWithConfig call. This API is synchronous.

Restrictions

Prototype

aclError aclrtDestroyStream(aclrtStream stream)

Parameters

Parameter

Input/Output

Description

stream

Input

Stream to destroy.

Returns

0 on success; else, failure.

See Also

For details about the API call sequence and example, see Runtime Resource Allocation and Deallocation.