Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
199
int Allocator::getActiveDeviceId() { return opencl::getActiveDeviceId(); }
200
201
size_t Allocator::getMaxMemorySize(int id) {
202
return opencl::getDeviceMemorySize(id);
Callers
nothing calls this directly
Calls
1
getActiveDeviceId
Function · 0.70
Tested by
no test coverage detected