| 229 | } |
| 230 | |
| 231 | int getActiveDeviceId() { |
| 232 | // Second element is the queue id, which is |
| 233 | // what we mean by active device id in opencl backend |
| 234 | return get<1>(tlocalActiveDeviceId()); |
| 235 | } |
| 236 | |
| 237 | int getDeviceIdFromNativeId(cl_device_id id) { |
| 238 | DeviceManager& devMngr = DeviceManager::getInstance(); |
no outgoing calls
no test coverage detected