Organize product information files

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
Zbigniew Zdanowicz
2021-08-06 13:53:24 +00:00
committed by Compute-Runtime-Automation
parent bc6e174bc4
commit 628c21ca37
21 changed files with 7 additions and 46 deletions

View File

@@ -41,7 +41,7 @@ macro(macro_for_each_platform)
foreach(BRANCH_DIR ${BRANCH_DIR_LIST})
foreach(BRANCH ${BRANCH_DIR_LIST})
set(PLATFORM_FILE "hw_info_${PLATFORM_IT_LOWER}.inl")
set(PLATFORM_FILE "hw_info_${PLATFORM_IT_LOWER}.cpp")
set(SRC_FILE ${CMAKE_CURRENT_SOURCE_DIR}${BRANCH_DIR}${GEN_TYPE_LOWER}${BRANCH}${PLATFORM_FILE})
if(EXISTS ${SRC_FILE})
list(APPEND RUNTIME_SRCS_${GEN_TYPE}_CPP_BASE ${SRC_FILE})

View File

@@ -5,15 +5,7 @@
*
*/
#ifdef SUPPORT_ICLLP
#include "hw_info_icllp.inl"
#endif
#ifdef SUPPORT_LKF
#include "hw_info_lkf.inl"
#endif
#ifdef SUPPORT_EHL
#include "hw_info_ehl.inl"
#endif
#include "shared/source/gen11/hw_info_gen11.h"
namespace NEO {
const char *GfxFamilyMapper<IGFX_GEN11_CORE>::name = "Gen11";

View File

@@ -1,23 +1,10 @@
/*
* Copyright (C) 2019-2020 Intel Corporation
* Copyright (C) 2019-2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#ifdef SUPPORT_TGLLP
#include "hw_info_tgllp.inl"
#endif
#ifdef SUPPORT_DG1
#include "hw_info_dg1.inl"
#endif
#ifdef SUPPORT_RKL
#include "hw_info_rkl.inl"
#endif
#ifdef SUPPORT_ADLS
#include "hw_info_adls.inl"
#endif
#include "shared/source/gen12lp/hw_info_gen12lp.h"
namespace NEO {

View File

@@ -5,9 +5,7 @@
*
*/
#ifdef SUPPORT_BDW
#include "hw_info_bdw.inl"
#endif
#include "shared/source/gen8/hw_info_gen8.h"
namespace NEO {
const char *GfxFamilyMapper<IGFX_GEN8_CORE>::name = "Gen8";

View File

@@ -5,21 +5,7 @@
*
*/
#ifdef SUPPORT_BXT
#include "hw_info_bxt.inl"
#endif
#ifdef SUPPORT_CFL
#include "hw_info_cfl.inl"
#endif
#ifdef SUPPORT_GLK
#include "hw_info_glk.inl"
#endif
#ifdef SUPPORT_KBL
#include "hw_info_kbl.inl"
#endif
#ifdef SUPPORT_SKL
#include "hw_info_skl.inl"
#endif
#include "shared/source/gen9/hw_info_gen9.h"
namespace NEO {
const char *GfxFamilyMapper<IGFX_GEN9_CORE>::name = "Gen9";

View File

@@ -5,9 +5,7 @@
*
*/
#ifdef SUPPORT_XE_HP_SDV
#include "hw_info_xehp.inl"
#endif
#include "shared/source/xe_hp_core/hw_info_xe_hp_core.h"
namespace NEO {
const char *GfxFamilyMapper<IGFX_XE_HP_CORE>::name = "XE_HP_CORE";