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

Method getActiveDeviceId

src/backend/cuda/memory.cpp:149–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147}
148
149int Allocator::getActiveDeviceId() { return cuda::getActiveDeviceId(); }
150
151size_t Allocator::getMaxMemorySize(int id) { return getDeviceMemorySize(id); }
152

Callers

nothing calls this directly

Calls 1

getActiveDeviceIdFunction · 0.70

Tested by

no test coverage detected