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

Function setDevice

src/api/cpp/device.cpp:77–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75int devicecount() { return getDeviceCount(); }
76
77void setDevice(const int device) { AF_THROW(af_set_device(device)); }
78
79void deviceset(const int device) { setDevice(device); }
80

Callers 3

devicesetFunction · 0.70
af_set_deviceFunction · 0.50
releaseHandleFunction · 0.50

Calls 1

af_set_deviceFunction · 0.50

Tested by

no test coverage detected