Destroys a stream created by the aclrtCreateStream or aclrtCreateStreamWithConfig call. This API is synchronous.
aclError aclrtDestroyStream(aclrtStream stream)
Parameter |
Input/Output |
Description |
|---|---|---|
stream |
Input |
Stream to destroy. |
0 on success; else, failure.
For details about the API call sequence and example, see Runtime Resource Allocation and Deallocation.