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

Function getQueueHandle

src/backend/oneapi/platform.cpp:295–301  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

293}
294
295sycl::queue* getQueueHandle(int device_id) {
296 DeviceManager& devMngr = DeviceManager::getInstance();
297
298 common::lock_guard_t lock(devMngr.deviceMutex);
299
300 return devMngr.mQueues[device_id].get();
301}
302
303const sycl::device& getDevice(int id) {
304 device_id_t& devId = tlocalActiveDeviceId();

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected