From f8e17842ed43f0924d312c13f6e89a1ef341eefa Mon Sep 17 00:00:00 2001 From: Kamil Kopryk Date: Fri, 10 Mar 2023 11:05:55 +0000 Subject: [PATCH] refactor: rename enable product helper files Related-To: NEO-7703 Signed-off-by: Kamil Kopryk --- shared/source/enable_cores.cmake | 2 +- ...ble_hw_info_config_ehl.cpp => enable_product_helper_ehl.cpp} | 0 ...hw_info_config_icllp.cpp => enable_product_helper_icllp.cpp} | 0 ...ble_hw_info_config_lkf.cpp => enable_product_helper_lkf.cpp} | 0 ...e_hw_info_config_adln.cpp => enable_product_helper_adln.cpp} | 0 ...e_hw_info_config_adlp.cpp => enable_product_helper_adlp.cpp} | 0 ...e_hw_info_config_adls.cpp => enable_product_helper_adls.cpp} | 0 ...ble_hw_info_config_dg1.cpp => enable_product_helper_dg1.cpp} | 0 ...ble_hw_info_config_rkl.cpp => enable_product_helper_rkl.cpp} | 0 ...hw_info_config_tgllp.cpp => enable_product_helper_tgllp.cpp} | 0 ...ble_hw_info_config_bdw.cpp => enable_product_helper_bdw.cpp} | 0 ...ble_hw_info_config_bxt.cpp => enable_product_helper_bxt.cpp} | 0 ...ble_hw_info_config_cfl.cpp => enable_product_helper_cfl.cpp} | 0 ...ble_hw_info_config_glk.cpp => enable_product_helper_glk.cpp} | 0 ...ble_hw_info_config_kbl.cpp => enable_product_helper_kbl.cpp} | 0 ...ble_hw_info_config_skl.cpp => enable_product_helper_skl.cpp} | 0 ...config_xe_hp_sdv.cpp => enable_product_helper_xe_hp_sdv.cpp} | 0 ...ble_hw_info_config_pvc.cpp => enable_product_helper_pvc.cpp} | 0 ...ble_hw_info_config_dg2.cpp => enable_product_helper_dg2.cpp} | 0 ...ble_hw_info_config_mtl.cpp => enable_product_helper_mtl.cpp} | 0 shared/test/common/libult/CMakeLists.txt | 2 +- 21 files changed, 2 insertions(+), 2 deletions(-) rename shared/source/gen11/{enable_hw_info_config_ehl.cpp => enable_product_helper_ehl.cpp} (100%) rename shared/source/gen11/{enable_hw_info_config_icllp.cpp => enable_product_helper_icllp.cpp} (100%) rename shared/source/gen11/{enable_hw_info_config_lkf.cpp => enable_product_helper_lkf.cpp} (100%) rename shared/source/gen12lp/{enable_hw_info_config_adln.cpp => enable_product_helper_adln.cpp} (100%) rename shared/source/gen12lp/{enable_hw_info_config_adlp.cpp => enable_product_helper_adlp.cpp} (100%) rename shared/source/gen12lp/{enable_hw_info_config_adls.cpp => enable_product_helper_adls.cpp} (100%) rename shared/source/gen12lp/{enable_hw_info_config_dg1.cpp => enable_product_helper_dg1.cpp} (100%) rename shared/source/gen12lp/{enable_hw_info_config_rkl.cpp => enable_product_helper_rkl.cpp} (100%) rename shared/source/gen12lp/{enable_hw_info_config_tgllp.cpp => enable_product_helper_tgllp.cpp} (100%) rename shared/source/gen8/{enable_hw_info_config_bdw.cpp => enable_product_helper_bdw.cpp} (100%) rename shared/source/gen9/{enable_hw_info_config_bxt.cpp => enable_product_helper_bxt.cpp} (100%) rename shared/source/gen9/{enable_hw_info_config_cfl.cpp => enable_product_helper_cfl.cpp} (100%) rename shared/source/gen9/{enable_hw_info_config_glk.cpp => enable_product_helper_glk.cpp} (100%) rename shared/source/gen9/{enable_hw_info_config_kbl.cpp => enable_product_helper_kbl.cpp} (100%) rename shared/source/gen9/{enable_hw_info_config_skl.cpp => enable_product_helper_skl.cpp} (100%) rename shared/source/xe_hp_core/{enable_hw_info_config_xe_hp_sdv.cpp => enable_product_helper_xe_hp_sdv.cpp} (100%) rename shared/source/xe_hpc_core/{enable_hw_info_config_pvc.cpp => enable_product_helper_pvc.cpp} (100%) rename shared/source/xe_hpg_core/{enable_hw_info_config_dg2.cpp => enable_product_helper_dg2.cpp} (100%) rename shared/source/xe_hpg_core/{enable_hw_info_config_mtl.cpp => enable_product_helper_mtl.cpp} (100%) diff --git a/shared/source/enable_cores.cmake b/shared/source/enable_cores.cmake index 291c040cad..f8965ad286 100644 --- a/shared/source/enable_cores.cmake +++ b/shared/source/enable_cores.cmake @@ -93,7 +93,7 @@ macro(macro_for_each_platform) list(APPEND CORE_SRCS_${CORE_TYPE}_CPP_WINDOWS ${SRC_FILE}) endif() - set(SRC_FILE ${PATH_TO_CORE}enable_hw_info_config_${PLATFORM_IT_LOWER}.cpp) + set(SRC_FILE ${PATH_TO_CORE}enable_product_helper_${PLATFORM_IT_LOWER}.cpp) if(EXISTS ${SRC_FILE}) list(APPEND ${CORE_TYPE}_SRC_LINK_BASE ${SRC_FILE}) endif() diff --git a/shared/source/gen11/enable_hw_info_config_ehl.cpp b/shared/source/gen11/enable_product_helper_ehl.cpp similarity index 100% rename from shared/source/gen11/enable_hw_info_config_ehl.cpp rename to shared/source/gen11/enable_product_helper_ehl.cpp diff --git a/shared/source/gen11/enable_hw_info_config_icllp.cpp b/shared/source/gen11/enable_product_helper_icllp.cpp similarity index 100% rename from shared/source/gen11/enable_hw_info_config_icllp.cpp rename to shared/source/gen11/enable_product_helper_icllp.cpp diff --git a/shared/source/gen11/enable_hw_info_config_lkf.cpp b/shared/source/gen11/enable_product_helper_lkf.cpp similarity index 100% rename from shared/source/gen11/enable_hw_info_config_lkf.cpp rename to shared/source/gen11/enable_product_helper_lkf.cpp diff --git a/shared/source/gen12lp/enable_hw_info_config_adln.cpp b/shared/source/gen12lp/enable_product_helper_adln.cpp similarity index 100% rename from shared/source/gen12lp/enable_hw_info_config_adln.cpp rename to shared/source/gen12lp/enable_product_helper_adln.cpp diff --git a/shared/source/gen12lp/enable_hw_info_config_adlp.cpp b/shared/source/gen12lp/enable_product_helper_adlp.cpp similarity index 100% rename from shared/source/gen12lp/enable_hw_info_config_adlp.cpp rename to shared/source/gen12lp/enable_product_helper_adlp.cpp diff --git a/shared/source/gen12lp/enable_hw_info_config_adls.cpp b/shared/source/gen12lp/enable_product_helper_adls.cpp similarity index 100% rename from shared/source/gen12lp/enable_hw_info_config_adls.cpp rename to shared/source/gen12lp/enable_product_helper_adls.cpp diff --git a/shared/source/gen12lp/enable_hw_info_config_dg1.cpp b/shared/source/gen12lp/enable_product_helper_dg1.cpp similarity index 100% rename from shared/source/gen12lp/enable_hw_info_config_dg1.cpp rename to shared/source/gen12lp/enable_product_helper_dg1.cpp diff --git a/shared/source/gen12lp/enable_hw_info_config_rkl.cpp b/shared/source/gen12lp/enable_product_helper_rkl.cpp similarity index 100% rename from shared/source/gen12lp/enable_hw_info_config_rkl.cpp rename to shared/source/gen12lp/enable_product_helper_rkl.cpp diff --git a/shared/source/gen12lp/enable_hw_info_config_tgllp.cpp b/shared/source/gen12lp/enable_product_helper_tgllp.cpp similarity index 100% rename from shared/source/gen12lp/enable_hw_info_config_tgllp.cpp rename to shared/source/gen12lp/enable_product_helper_tgllp.cpp diff --git a/shared/source/gen8/enable_hw_info_config_bdw.cpp b/shared/source/gen8/enable_product_helper_bdw.cpp similarity index 100% rename from shared/source/gen8/enable_hw_info_config_bdw.cpp rename to shared/source/gen8/enable_product_helper_bdw.cpp diff --git a/shared/source/gen9/enable_hw_info_config_bxt.cpp b/shared/source/gen9/enable_product_helper_bxt.cpp similarity index 100% rename from shared/source/gen9/enable_hw_info_config_bxt.cpp rename to shared/source/gen9/enable_product_helper_bxt.cpp diff --git a/shared/source/gen9/enable_hw_info_config_cfl.cpp b/shared/source/gen9/enable_product_helper_cfl.cpp similarity index 100% rename from shared/source/gen9/enable_hw_info_config_cfl.cpp rename to shared/source/gen9/enable_product_helper_cfl.cpp diff --git a/shared/source/gen9/enable_hw_info_config_glk.cpp b/shared/source/gen9/enable_product_helper_glk.cpp similarity index 100% rename from shared/source/gen9/enable_hw_info_config_glk.cpp rename to shared/source/gen9/enable_product_helper_glk.cpp diff --git a/shared/source/gen9/enable_hw_info_config_kbl.cpp b/shared/source/gen9/enable_product_helper_kbl.cpp similarity index 100% rename from shared/source/gen9/enable_hw_info_config_kbl.cpp rename to shared/source/gen9/enable_product_helper_kbl.cpp diff --git a/shared/source/gen9/enable_hw_info_config_skl.cpp b/shared/source/gen9/enable_product_helper_skl.cpp similarity index 100% rename from shared/source/gen9/enable_hw_info_config_skl.cpp rename to shared/source/gen9/enable_product_helper_skl.cpp diff --git a/shared/source/xe_hp_core/enable_hw_info_config_xe_hp_sdv.cpp b/shared/source/xe_hp_core/enable_product_helper_xe_hp_sdv.cpp similarity index 100% rename from shared/source/xe_hp_core/enable_hw_info_config_xe_hp_sdv.cpp rename to shared/source/xe_hp_core/enable_product_helper_xe_hp_sdv.cpp diff --git a/shared/source/xe_hpc_core/enable_hw_info_config_pvc.cpp b/shared/source/xe_hpc_core/enable_product_helper_pvc.cpp similarity index 100% rename from shared/source/xe_hpc_core/enable_hw_info_config_pvc.cpp rename to shared/source/xe_hpc_core/enable_product_helper_pvc.cpp diff --git a/shared/source/xe_hpg_core/enable_hw_info_config_dg2.cpp b/shared/source/xe_hpg_core/enable_product_helper_dg2.cpp similarity index 100% rename from shared/source/xe_hpg_core/enable_hw_info_config_dg2.cpp rename to shared/source/xe_hpg_core/enable_product_helper_dg2.cpp diff --git a/shared/source/xe_hpg_core/enable_hw_info_config_mtl.cpp b/shared/source/xe_hpg_core/enable_product_helper_mtl.cpp similarity index 100% rename from shared/source/xe_hpg_core/enable_hw_info_config_mtl.cpp rename to shared/source/xe_hpg_core/enable_product_helper_mtl.cpp diff --git a/shared/test/common/libult/CMakeLists.txt b/shared/test/common/libult/CMakeLists.txt index 6459431583..f1bdb71e7d 100644 --- a/shared/test/common/libult/CMakeLists.txt +++ b/shared/test/common/libult/CMakeLists.txt @@ -9,7 +9,7 @@ macro(macro_for_each_platform) foreach(BRANCH_DIR ${BRANCH_DIR_LIST}) foreach(BRANCH ${BRANCH_DIR_LIST}) - set(SRC_FILE ${NEO_SHARED_DIRECTORY}${BRANCH_DIR}${CORE_TYPE_LOWER}${BRANCH}enable_hw_info_config_${PLATFORM_IT_LOWER}.cpp) + set(SRC_FILE ${NEO_SHARED_DIRECTORY}${BRANCH_DIR}${CORE_TYPE_LOWER}${BRANCH}enable_product_helper_${PLATFORM_IT_LOWER}.cpp) if(EXISTS ${SRC_FILE}) list(APPEND neo_libult_common_SRCS_ENABLE_TESTED_HW ${SRC_FILE}) endif()