File tree Expand file tree Collapse file tree 11 files changed +17
-12
lines changed
unit_tests/os_interface/linux Expand file tree Collapse file tree 11 files changed +17
-12
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,9 @@ set(NEO_CORE_OS_INTERFACE_LINUX
88 ${CMAKE_CURRENT_SOURCE_DIR} /CMakeLists.txt
99 ${CMAKE_CURRENT_SOURCE_DIR} /debug_env_reader.cpp
1010 ${CMAKE_CURRENT_SOURCE_DIR} /debug_env_reader.h
11+ ${CMAKE_CURRENT_SOURCE_DIR} /engine_info.h
12+ ${CMAKE_CURRENT_SOURCE_DIR} /memory_info.h
13+ ${CMAKE_CURRENT_SOURCE_DIR} /os_inc.h
1114 ${CMAKE_CURRENT_SOURCE_DIR} /os_library_linux.cpp
1215 ${CMAKE_CURRENT_SOURCE_DIR} /os_library_linux.h
1316 ${CMAKE_CURRENT_SOURCE_DIR} /os_memory_linux.cpp
@@ -16,3 +19,4 @@ set(NEO_CORE_OS_INTERFACE_LINUX
1619)
1720
1821set_property (GLOBAL PROPERTY NEO_CORE_OS_INTERFACE_LINUX ${NEO_CORE_OS_INTERFACE_LINUX} )
22+ add_subdirectories()
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 99
1010#define PATH_SEPARATOR ' /'
1111#define __cdecl
12+ namespace Os {
13+ // Pci Path
14+ extern const char *sysFsPciPath;
15+ } // namespace Os
Original file line number Diff line number Diff line change @@ -81,13 +81,15 @@ if(WIN32)
8181 set (IGDRCL_EXTRA_LIBS Ws2_32)
8282 target_include_directories (${NEO_STATIC_LIB_NAME} PUBLIC
8383 ${WDK_INCLUDE_PATHS}
84- os_interface/windows
84+ ${NEO_SOURCE_DIR} /core/os_interface/windows
85+ ${NEO_SOURCE_DIR} /runtime/os_interface/windows
8586 )
8687 target_compile_definitions (${NEO_STATIC_LIB_NAME} PRIVATE OGL=1)
8788else ()
8889 set (IGDRCL_EXTRA_LIBS dl pthread)
8990 target_include_directories (${NEO_STATIC_LIB_NAME} PUBLIC
90- os_interface/linux
91+ ${NEO_SOURCE_DIR} /core/os_interface/linux
92+ ${NEO_SOURCE_DIR} /runtime/os_interface/linux
9193 ${I915_INCLUDES_DIR}
9294 )
9395endif ()
Original file line number Diff line number Diff line change @@ -33,14 +33,11 @@ set(RUNTIME_SRCS_OS_INTERFACE_LINUX
3333 ${CMAKE_CURRENT_SOURCE_DIR}${BRANCH_DIR_SUFFIX} /drm_query.cpp
3434 ${CMAKE_CURRENT_SOURCE_DIR} /drm_memory_operations_handler.cpp
3535 ${CMAKE_CURRENT_SOURCE_DIR} /drm_memory_operations_handler.h
36- ${CMAKE_CURRENT_SOURCE_DIR} /engine_info.h
3736 ${CMAKE_CURRENT_SOURCE_DIR} /hw_info_config.cpp
3837 ${CMAKE_CURRENT_SOURCE_DIR} /linux_inc.cpp
39- ${CMAKE_CURRENT_SOURCE_DIR} /memory_info.h
4038 ${CMAKE_CURRENT_SOURCE_DIR} /ocl_reg_path.cpp
4139 ${CMAKE_CURRENT_SOURCE_DIR} /os_context_linux.cpp
4240 ${CMAKE_CURRENT_SOURCE_DIR} /os_context_linux.h
43- ${CMAKE_CURRENT_SOURCE_DIR} /os_inc.h
4441 ${CMAKE_CURRENT_SOURCE_DIR} /os_interface.cpp
4542 ${CMAKE_CURRENT_SOURCE_DIR} /os_interface.h
4643 ${CMAKE_CURRENT_SOURCE_DIR} /os_metrics_library.cpp
Original file line number Diff line number Diff line change 99
1010#include " core/helpers/hw_info.h"
1111#include " core/memory_manager/memory_constants.h"
12+ #include " core/os_interface/linux/os_inc.h"
1213#include " core/utilities/directory.h"
13- #include " runtime/os_interface/os_inc_base.h"
1414
1515#include < cstdio>
1616#include < cstring>
Original file line number Diff line number Diff line change 77
88#pragma once
99#include " core/helpers/basic_math.h"
10- #include " runtime /os_interface/linux/engine_info.h"
11- #include " runtime /os_interface/linux/memory_info.h"
10+ #include " core /os_interface/linux/engine_info.h"
11+ #include " core /os_interface/linux/memory_info.h"
1212#include " runtime/utilities/api_intercept.h"
1313
1414#include " drm/i915_drm.h"
Original file line number Diff line number Diff line change 55 *
66 */
77
8- #include " runtime /os_interface/linux/os_inc.h"
8+ #include " core /os_interface/linux/os_inc.h"
99namespace Os {
1010const char *fileSeparator = " /" ;
1111}
Original file line number Diff line number Diff line change @@ -16,8 +16,6 @@ extern const char *testDllName;
1616
1717// OS specific directory separator
1818extern const char *fileSeparator;
19- // Pci Path
20- extern const char *sysFsPciPath;
2119
2220// Os specific Metrics Library name
2321extern const char *metricsLibraryDllName;
You can’t perform that action at this time.
0 commit comments