Waits for stream tasks to complete. This API is synchronous.
aclError aclrtSynchronizeStream(aclrtStream stream)
Parameter |
Input/Output |
Description |
|---|---|---|
stream |
Input |
Stream. |
0 on success; else, failure.
For the API call example, see Intra-Stream Synchronization.