mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-07 21:15:35 +08:00
Move some files from opencl/source/dll to shared
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
4cad3073f0
commit
19b8a03d30
24
shared/source/dll/windows/options_windows.cpp
Normal file
24
shared/source/dll/windows/options_windows.cpp
Normal file
@@ -0,0 +1,24 @@
|
||||
/*
|
||||
* Copyright (C) 2019-2021 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "External/Common/GmmLibDllName.h"
|
||||
#include "igc.opencl.h"
|
||||
|
||||
namespace Os {
|
||||
|
||||
const char *frontEndDllName = FCL_LIBRARY_NAME;
|
||||
const char *igcDllName = IGC_LIBRARY_NAME;
|
||||
const char *gdiDllName = "gdi32.dll";
|
||||
const char *dxcoreDllName = "dxcore.dll";
|
||||
|
||||
// Os specific Metrics Library name
|
||||
#if _WIN64
|
||||
const char *metricsLibraryDllName = "igdml64.dll";
|
||||
#else
|
||||
const char *metricsLibraryDllName = "igdml32.dll";
|
||||
#endif
|
||||
} // namespace Os
|
||||
17
shared/source/dll/windows/os_interface.cpp
Normal file
17
shared/source/dll/windows/os_interface.cpp
Normal file
@@ -0,0 +1,17 @@
|
||||
/*
|
||||
* Copyright (C) 2018-2021 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "shared/source/os_interface/os_interface.h"
|
||||
|
||||
#include "shared/source/helpers/constants.h"
|
||||
#include "shared/source/os_interface/windows/wddm/wddm.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
bool OSInterface::osEnableLocalMemory = true;
|
||||
|
||||
} // namespace NEO
|
||||
Reference in New Issue
Block a user