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

Function deviceset

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

Source from the content-addressed store, hash-verified

77void setDevice(const int device) { AF_THROW(af_set_device(device)); }
78
79void deviceset(const int device) { setDevice(device); }
80
81int getDevice() {
82 int device = 0;

Callers

nothing calls this directly

Calls 1

setDeviceFunction · 0.70

Tested by

no test coverage detected