Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
211
af_err af_get_device_count(int* nDevices) {
212
try {
213
*nDevices = getDeviceCount();
214
}
215
CATCHALL;
216
217
return AF_SUCCESS;
218
}
219
220
af_err af_get_device(int* device) {
221
try {
Callers
6
TEST
Function · 0.50
threading.cpp
File · 0.50
TEST
Function · 0.50
solve_dense.cpp
File · 0.50
infoTest
Function · 0.50
getDeviceCount
Function · 0.50
Calls
1
getDeviceCount
Function · 0.50
Tested by
no test coverage detected