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