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

Function getDeviceCount

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

Source from the content-addressed store, hash-verified

67}
68
69int getDeviceCount() {
70 int devices = -1;
71 AF_THROW(af_get_device_count(&devices));
72 return devices;
73}
74
75int devicecount() { return getDeviceCount(); }
76

Callers 10

devicecountFunction · 0.70
TESTFunction · 0.50
fft.cppFile · 0.50
TEST_FFunction · 0.50
TESTFunction · 0.50
TESTFunction · 0.50
TESTFunction · 0.50
af_get_device_countFunction · 0.50
af_set_deviceFunction · 0.50
af_print_mem_infoFunction · 0.50

Calls 1

af_get_device_countFunction · 0.50

Tested by

no test coverage detected