aclrtSynchronizeStream
Description
Blocks the app running until all tasks in the specified stream are complete.
Prototype
aclError aclrtSynchronizeStream(aclrtStream stream)
Parameters
|
Parameter |
Input/Output |
Description |
|---|---|---|
|
stream |
Input |
Stream. |
Returns
The value 0 indicates success, and other values indicate failure. For details, see aclError.
Parent topic: Stream Management