2018-05-11 15:44:37 +08:00
|
|
|
/*
|
2019-02-27 18:39:32 +08:00
|
|
|
* Copyright (C) 2018-2019 Intel Corporation
|
2018-05-11 15:44:37 +08:00
|
|
|
*
|
2018-09-18 15:11:08 +08:00
|
|
|
* SPDX-License-Identifier: MIT
|
2018-05-11 15:44:37 +08:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "runtime/gmm_helper/gmm_helper.h"
|
|
|
|
#include "runtime/os_interface/windows/wddm/wddm.h"
|
2019-02-27 18:39:32 +08:00
|
|
|
|
2018-05-11 15:44:37 +08:00
|
|
|
#include <dxgi.h>
|
|
|
|
|
|
|
|
namespace OCLRT {
|
|
|
|
Wddm::CreateDXGIFactoryFcn getCreateDxgiFactory() {
|
|
|
|
return CreateDXGIFactory;
|
|
|
|
}
|
|
|
|
|
|
|
|
Wddm::GetSystemInfoFcn getGetSystemInfo() {
|
|
|
|
return GetSystemInfo;
|
|
|
|
}
|
|
|
|
|
|
|
|
Wddm::VirtualFreeFcn getVirtualFree() {
|
|
|
|
return VirtualFree;
|
|
|
|
}
|
|
|
|
|
|
|
|
Wddm::VirtualAllocFcn getVirtualAlloc() {
|
|
|
|
return VirtualAlloc;
|
|
|
|
}
|
|
|
|
} // namespace OCLRT
|