MCPcopy 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
377int getActiveDeviceId() { return tlocalActiveDeviceId(); }
378
379int getDeviceNativeId(int device) {
380 if (device <

Callers 15

getDeviceInfoFunction · 0.70
devpropFunction · 0.70
initFunction · 0.70
getActiveStreamFunction · 0.70
platform.cppFile · 0.70
blasHandleFunction · 0.70
nnHandleFunction · 0.70
solverDnHandleFunction · 0.70
sparseHandleFunction · 0.70
syncFunction · 0.70
joinFunction · 0.70
getActiveDeviceIdMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected