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

Method getActiveDeviceId

src/backend/opencl/memory.cpp:199–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197}
198
199int Allocator::getActiveDeviceId() { return opencl::getActiveDeviceId(); }
200
201size_t Allocator::getMaxMemorySize(int id) {
202 return opencl::getDeviceMemorySize(id);

Callers

nothing calls this directly

Calls 1

getActiveDeviceIdFunction · 0.70

Tested by

no test coverage detected