MCPcopy 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
117int getDeviceCount() { return DeviceManager::NUM_DEVICES; }
118
119void init() {
120 thread_local const auto& instance = DeviceManager::getInstance();

Callers 3

shutdownMethod · 0.70
DeviceManagerMethod · 0.70
resetMemoryManagerMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected