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

Function af_get_device_count

src/api/c/device.cpp:211–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209}
210
211af_err af_get_device_count(int* nDevices) {
212 try {
213 *nDevices = getDeviceCount();
214 }
215 CATCHALL;
216
217 return AF_SUCCESS;
218}
219
220af_err af_get_device(int* device) {
221 try {

Callers 6

TESTFunction · 0.50
threading.cppFile · 0.50
TESTFunction · 0.50
solve_dense.cppFile · 0.50
infoTestFunction · 0.50
getDeviceCountFunction · 0.50

Calls 1

getDeviceCountFunction · 0.50

Tested by

no test coverage detected