MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / af_sync

Function af_sync

src/api/c/device.cpp:254–261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252}
253
254af_err af_sync(const int device) {
255 try {
256 int dev = device == -1 ? static_cast<int>(getActiveDeviceId()) : device;
257 detail::sync(dev);
258 }
259 CATCHALL;
260 return AF_SUCCESS;
261}
262
263template<typename T>
264static inline void eval(af_array arr) {

Callers 6

randuTestFunction · 0.50
randnTestFunction · 0.50
randuArgsTestFunction · 0.50
testImageFunction · 0.50
testDataFunction · 0.50
syncFunction · 0.50

Calls 2

getActiveDeviceIdFunction · 0.50
syncFunction · 0.50

Tested by

no test coverage detected