Commit 7a32405 1 parent b67b1bd commit 7a32405 Copy full SHA for 7a32405
File tree 7 files changed +16
-26
lines changed
7 files changed +16
-26
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,12 @@ macro(macro_for_each_platform)
50
50
list (APPEND CORE_SRCS_${CORE_TYPE} _CPP_BASE ${SRC_FILE} )
51
51
endif ()
52
52
53
+ set (PLATFORM_FILE "hw_cmds_${PLATFORM_IT_LOWER} .inl" )
54
+ set (SRC_FILE ${CMAKE_CURRENT_SOURCE_DIR}${BRANCH_DIR}${CORE_TYPE_LOWER} /definitions ${BRANCH_DIR_SUFFIX}${PLATFORM_FILE} )
55
+ if (EXISTS ${SRC_FILE} )
56
+ list (APPEND CORE_SRCS_${CORE_TYPE} _CPP_BASE ${SRC_FILE} )
57
+ endif ()
58
+
53
59
foreach (BRANCH ${BRANCH_DIR_LIST} )
54
60
set (PATH_TO_CORE ${CMAKE_CURRENT_SOURCE_DIR}${BRANCH_DIR}${CORE_TYPE_LOWER}${BRANCH} )
55
61
@@ -58,6 +64,11 @@ macro(macro_for_each_platform)
58
64
list (APPEND CORE_SRCS_${CORE_TYPE} _H_BASE ${SRC_FILE} )
59
65
endif ()
60
66
67
+ set (SRC_FILE ${PATH_TO_CORE}${PLATFORM_IT_LOWER}${BRANCH_DIR_SUFFIX} hw_cmds_${PLATFORM_IT_LOWER} .cpp)
68
+ if (EXISTS ${SRC_FILE} )
69
+ list (APPEND CORE_SRCS_${CORE_TYPE} _H_BASE ${SRC_FILE} )
70
+ endif ()
71
+
61
72
set (SRC_FILE ${PATH_TO_CORE} linux/hw_info_extra_${PLATFORM_IT_LOWER} .cpp)
62
73
if (EXISTS ${SRC_FILE} )
63
74
list (APPEND CORE_SRCS_${CORE_TYPE} _CPP_LINUX ${SRC_FILE} )
Original file line number Diff line number Diff line change 1
1
#
2
- # Copyright (C) 2020-2021 Intel Corporation
2
+ # Copyright (C) 2020-2022 Intel Corporation
3
3
#
4
4
# SPDX-License-Identifier: MIT
5
5
#
6
6
7
7
set_property (GLOBAL PROPERTY SHARED_SRCS_ADDITIONAL_FILES_GEN12LP ${SHARED_SRCS_ADDITIONAL_FILES_GEN12LP} )
8
8
9
- if (SUPPORT_ADLP)
10
- set (HW_DEFINITIONS_ADLP
11
- ${CMAKE_CURRENT_SOURCE_DIR} /CMakeLists.txt
12
- ${CMAKE_CURRENT_SOURCE_DIR} /definitions ${BRANCH_DIR_SUFFIX} hw_cmds_adlp.inl
13
- )
14
- set_property (GLOBAL APPEND PROPERTY CORE_SRCS_COREX_ALL_BASE ${HW_DEFINITIONS_ADLP} )
15
- endif ()
16
-
17
9
if (SUPPORT_GEN12LP)
18
10
add_subdirectories()
19
11
endif ()
Original file line number Diff line number Diff line change 1
1
#
2
- # Copyright (C) 2021 Intel Corporation
2
+ # Copyright (C) 2021-2022 Intel Corporation
3
3
#
4
4
# SPDX-License-Identifier: MIT
5
5
#
6
6
7
7
if (SUPPORT_XE_HP_CORE)
8
- set (HW_DEFINITIONS_XE_HP_CORE
9
- ${CMAKE_CURRENT_SOURCE_DIR} /CMakeLists.txt
10
- ${CMAKE_CURRENT_SOURCE_DIR} /definitions ${BRANCH_DIR_SUFFIX} hw_cmds_xehp.inl
11
- )
12
- set_property (GLOBAL APPEND PROPERTY CORE_SRCS_COREX_ALL_BASE ${HW_DEFINITIONS_XE_HP_CORE} )
13
-
14
8
add_subdirectories()
15
9
endif ()
Original file line number Diff line number Diff line change 5
5
#
6
6
7
7
if (SUPPORT_XE_HPC_CORE)
8
- set (HW_DEFINITIONS_XE_HPC_CORE
9
- ${CMAKE_CURRENT_SOURCE_DIR} /CMakeLists.txt
10
- ${CMAKE_CURRENT_SOURCE_DIR}${BRANCH_DIR_SUFFIX} hw_cmds_pvc.cpp
11
- ${CMAKE_CURRENT_SOURCE_DIR} /definitions ${BRANCH_DIR_SUFFIX} hw_cmds_pvc.inl
12
- ${CMAKE_CURRENT_SOURCE_DIR} /compiler_hw_info_config_pvc.inl
13
- )
14
-
15
- set_property (GLOBAL APPEND PROPERTY NEO_CORE_HELPERS ${HW_DEFINITIONS_XE_HPC_CORE} )
16
-
17
8
add_subdirectories()
18
9
endif ()
File renamed without changes.
Original file line number Diff line number Diff line change 10
10
#include " shared/source/helpers/debug_helpers.h"
11
11
#include " shared/source/xe_hpg_core/hw_info.h"
12
12
13
- #include " device_ids_configs_dg2.h"
14
13
#include " igfxfmid.h"
15
14
16
15
#include < cstddef>
Original file line number Diff line number Diff line change 7
7
8
8
#pragma once
9
9
#include " shared/source/xe_hpg_core/hw_cmds_base.h"
10
+
11
+ #include " device_ids_configs_dg2.h"
12
+
10
13
namespace NEO {
11
14
12
15
struct DG2 : public XE_HPG_COREFamily {
You can’t perform that action at this time.
0 commit comments