MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / getActiveDeviceId

Method getActiveDeviceId

src/backend/cpu/memory.cpp:138–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136}
137
138int Allocator::getActiveDeviceId() {
139 return static_cast<int>(cpu::getActiveDeviceId());
140}
141
142size_t Allocator::getMaxMemorySize(int id) {
143 return cpu::getDeviceMemorySize(id);

Calls 1

getActiveDeviceIdFunction · 0.70

Tested by

no test coverage detected