Files
compute-runtime/shared/source/os_interface/windows/wddm/wddm_calls.cpp
Jaroslaw Chodor 83143c4318 Changing win dev discovery to DXCoreAdapterFactory
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-04-30 15:57:35 +02:00

30 lines
545 B
C++

/*
* Copyright (C) 2018-2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/source/os_interface/windows/wddm/wddm.h"
#include <dxcore.h>
#include <dxgi.h>
namespace NEO {
Wddm::DXCoreCreateAdapterFactoryFcn getDXCoreCreateAdapterFactory() {
return DXCoreCreateAdapterFactory;
}
Wddm::GetSystemInfoFcn getGetSystemInfo() {
return GetSystemInfo;
}
Wddm::VirtualFreeFcn getVirtualFree() {
return VirtualFree;
}
Wddm::VirtualAllocFcn getVirtualAlloc() {
return VirtualAlloc;
}
} // namespace NEO