Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arrayfire/arrayfire
/ devicecount
Function
devicecount
src/api/cpp/device.cpp:75–75 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
73
}
74
75
int devicecount() { return getDeviceCount(); }
76
77
void setDevice(const int device) { AF_THROW(af_set_device(device)); }
78
Callers
nothing calls this directly
Calls
1
getDeviceCount
Function · 0.70
Tested by
no test coverage detected