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

Function getActiveDeviceId

src/backend/oneapi/platform.cpp:232–236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230}
231
232unsigned getActiveDeviceId() {
233 // Second element is the queue id, which is
234 // what we mean by active device id in opencl backend
235 return get<1>(tlocalActiveDeviceId());
236}
237
238/*
239int getDeviceIdFromNativeId(cl_device_id id) {

Callers 13

getDeviceInfoFunction · 0.70
setDeviceFunction · 0.70
syncFunction · 0.70
platform.cppFile · 0.70
getActiveDeviceIdMethod · 0.70
half>Method · 0.70
checkAndMigrateFunction · 0.70
ArrayMethod · 0.70
evalMethod · 0.70
evalMultipleFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected