Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arrayfire/arrayfire
/ getDeviceCount
Function
getDeviceCount
src/backend/cpu/platform.cpp:117–117 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
115
}
116
117
int getDeviceCount() { return DeviceManager::NUM_DEVICES; }
118
119
void init() {
120
thread_local const auto& instance = DeviceManager::getInstance();
Callers
3
shutdown
Method · 0.70
DeviceManager
Method · 0.70
resetMemoryManager
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected