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

Method getActiveDeviceId

src/backend/oneapi/memory.cpp:176–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174void Allocator::shutdown() { shutdownMemoryManager(); }
175
176int Allocator::getActiveDeviceId() { return oneapi::getActiveDeviceId(); }
177
178size_t Allocator::getMaxMemorySize(int id) {
179 return oneapi::getDeviceMemorySize(id);

Callers

nothing calls this directly

Calls 1

getActiveDeviceIdFunction · 0.70

Tested by

no test coverage detected