mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-29 09:03:14 +08:00
Change-Id: If965c79d70392db26597aea4c2f3b7ae2820fe96 Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
26 lines
591 B
C++
26 lines
591 B
C++
/*
|
|
* Copyright (C) 2017-2019 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "unit_tests/os_interface/windows/ult_dxgi_factory.h"
|
|
|
|
namespace NEO {
|
|
|
|
HRESULT WINAPI ULTCreateDXGIFactory(REFIID riid, void **ppFactory) {
|
|
|
|
UltIDXGIFactory1 *factory = new UltIDXGIFactory1;
|
|
|
|
*(UltIDXGIFactory1 **)ppFactory = factory;
|
|
|
|
return S_OK;
|
|
}
|
|
|
|
void WINAPI ULTGetSystemInfo(SYSTEM_INFO *pSystemInfo) {
|
|
pSystemInfo->lpMaximumApplicationAddress = is32bit ? (LPVOID)MemoryConstants::max32BitAppAddress : (LPVOID)MemoryConstants::max64BitAppAddress;
|
|
}
|
|
|
|
} // namespace NEO
|