Files
compute-runtime/runtime/os_interface/windows/device_caps_init_win.cpp
Maciej Plewka 0e2dad1ffb Move device factory to core
Change-Id: Ic98a75ed80fb9556465c9a6c93b1b1a9ba628200
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-02-05 16:34:14 +01:00

34 lines
908 B
C++

/*
* Copyright (C) 2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#ifdef _WIN32
#include "runtime/device/cl_device.h"
#include "runtime/device/device.h"
namespace NEO {
void ClDevice::initializeCaps() {
device.appendOSExtensions("cl_intel_simultaneous_sharing ");
simultaneousInterops = {CL_GL_CONTEXT_KHR,
CL_WGL_HDC_KHR,
CL_CONTEXT_ADAPTER_D3D9_KHR,
CL_CONTEXT_D3D9_DEVICE_INTEL,
CL_CONTEXT_ADAPTER_D3D9EX_KHR,
CL_CONTEXT_D3D9EX_DEVICE_INTEL,
CL_CONTEXT_ADAPTER_DXVA_KHR,
CL_CONTEXT_DXVA_DEVICE_INTEL,
CL_CONTEXT_D3D10_DEVICE_KHR,
CL_CONTEXT_D3D11_DEVICE_KHR,
0};
}
} // namespace NEO
#endif