Blocks until all operations on device are finished. More...
Functions | |
AFAPI void | sync (const int device=-1) |
Blocks until the device is finished processing. More... | |
AFAPI af_err | af_sync (const int device) |
Blocks until all operations on device are finished.
These functions block the calling thread until all of the device operations have finished.
AFAPI void sync | ( | const int | device = -1 | ) |
Blocks until the device
is finished processing.
[in] | device | is the target device |