Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arrayfire/arrayfire
/ getActiveDeviceId
Function
getActiveDeviceId
src/backend/cuda/platform.cpp:377–377 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
375
}
376
377
int getActiveDeviceId() { return tlocalActiveDeviceId(); }
378
379
int getDeviceNativeId(int device) {
380
if (device <
Callers
15
getDeviceInfo
Function · 0.70
devprop
Function · 0.70
init
Function · 0.70
getActiveStream
Function · 0.70
platform.cpp
File · 0.70
blasHandle
Function · 0.70
nnHandle
Function · 0.70
solverDnHandle
Function · 0.70
sparseHandle
Function · 0.70
sync
Function · 0.70
join
Function · 0.70
getActiveDeviceId
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected