A high-performance general-purpose compute library

Blocks until all operations on device are finished More...

Functions

void sync (const int device=-1)
 Blocks until the device is finished processing.
 
af_err af_sync (const int device)
 

Detailed Description

Blocks until all operations on device are finished

These functions block the calling thread until all of the device operations have finished.


Function Documentation

◆ af_sync()

af_err af_sync ( const int device)

◆ sync()