Skip to content

Commit 973317e

Browse files
Move kmd notify properties to shared
Signed-off-by: Mateusz Jablonski <[email protected]>
1 parent d49a7cf commit 973317e

File tree

5 files changed

+5
-9
lines changed

5 files changed

+5
-9
lines changed

opencl/source/helpers/CMakeLists.txt

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -60,20 +60,14 @@ if(SUPPORT_XEHP_AND_LATER)
6060
endif()
6161

6262
set(RUNTIME_SRCS_HELPERS_WINDOWS
63-
${CMAKE_CURRENT_SOURCE_DIR}/windows/kmd_notify_properties_windows.cpp
6463
${CMAKE_CURRENT_SOURCE_DIR}/windows/gl_helper.h
6564
)
66-
set(RUNTIME_SRCS_HELPERS_LINUX
67-
${CMAKE_CURRENT_SOURCE_DIR}/linux/kmd_notify_properties_linux.cpp
68-
)
6965

7066
target_sources(${NEO_STATIC_LIB_NAME} PRIVATE ${RUNTIME_SRCS_HELPERS_BASE})
7167
if(WIN32)
7268
target_sources(${NEO_STATIC_LIB_NAME} PRIVATE ${RUNTIME_SRCS_HELPERS_WINDOWS})
73-
else()
74-
target_sources(${NEO_STATIC_LIB_NAME} PRIVATE ${RUNTIME_SRCS_HELPERS_LINUX})
7569
endif()
76-
set_property(GLOBAL PROPERTY RUNTIME_SRCS_HELPERS_LINUX ${RUNTIME_SRCS_HELPERS_LINUX})
70+
7771
set_property(GLOBAL PROPERTY RUNTIME_SRCS_HELPERS_BASE ${RUNTIME_SRCS_HELPERS_BASE})
7872

7973
add_subdirectories()

shared/source/os_interface/linux/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ set(NEO_CORE_OS_INTERFACE_LINUX
4343
${CMAKE_CURRENT_SOURCE_DIR}/hw_info_config_drm.cpp
4444
${CMAKE_CURRENT_SOURCE_DIR}/hw_device_id.h
4545
${CMAKE_CURRENT_SOURCE_DIR}/hw_device_id_linux.cpp
46+
${CMAKE_CURRENT_SOURCE_DIR}/kmd_notify_properties_linux.cpp
4647
${CMAKE_CURRENT_SOURCE_DIR}/linux_inc.cpp
4748
${CMAKE_CURRENT_SOURCE_DIR}/engine_info.h
4849
${CMAKE_CURRENT_SOURCE_DIR}${BRANCH_DIR_SUFFIX}engine_info_impl.h

opencl/source/helpers/linux/kmd_notify_properties_linux.cpp renamed to shared/source/os_interface/linux/kmd_notify_properties_linux.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (C) 2018-2020 Intel Corporation
2+
* Copyright (C) 2018-2021 Intel Corporation
33
*
44
* SPDX-License-Identifier: MIT
55
*

shared/source/os_interface/windows/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ set(NEO_CORE_OS_INTERFACE_WINDOWS
1919
${CMAKE_CURRENT_SOURCE_DIR}/driver_info_windows.h
2020
${CMAKE_CURRENT_SOURCE_DIR}/environment_variables.h
2121
${CMAKE_CURRENT_SOURCE_DIR}/hw_info_config_drm_stub.cpp
22+
${CMAKE_CURRENT_SOURCE_DIR}/kmd_notify_properties_windows.cpp
2223
${CMAKE_CURRENT_SOURCE_DIR}/os_inc.h
2324
${CMAKE_CURRENT_SOURCE_DIR}/os_interface_win.cpp
2425
${CMAKE_CURRENT_SOURCE_DIR}/os_library_win.cpp

opencl/source/helpers/windows/kmd_notify_properties_windows.cpp renamed to shared/source/os_interface/windows/kmd_notify_properties_windows.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (C) 2018-2020 Intel Corporation
2+
* Copyright (C) 2018-2021 Intel Corporation
33
*
44
* SPDX-License-Identifier: MIT
55
*

0 commit comments

Comments
 (0)