MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / ~DeviceManager

Method ~DeviceManager

src/backend/oneapi/device_manager.cpp:289–295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

287}
288
289DeviceManager::~DeviceManager() {
290 for (int i = 0; i < getDeviceCount(); ++i) { gfxManagers[i] = nullptr; }
291 memManager = nullptr;
292 pinnedMemManager = nullptr;
293
294 // TODO: cleanup mQueues, mContexts, mDevices??
295}
296
297void DeviceManager::markDeviceForInterop(const int device,
298 const void* wHandle) {

Callers

nothing calls this directly

Calls 1

getDeviceCountFunction · 0.70

Tested by

no test coverage detected