Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
69
int getDeviceCount() {
70
int devices = -1;
71
AF_THROW(af_get_device_count(&devices));
72
return devices;
73
}
74
75
int devicecount() { return getDeviceCount(); }
76
Callers
10
devicecount
Function · 0.70
TEST
Function · 0.50
fft.cpp
File · 0.50
TEST_F
Function · 0.50
TEST
Function · 0.50
TEST
Function · 0.50
TEST
Function · 0.50
af_get_device_count
Function · 0.50
af_set_device
Function · 0.50
af_print_mem_info
Function · 0.50
Calls
1
af_get_device_count
Function · 0.50
Tested by
no test coverage detected