Split hwInfoConfig and CompilerProductHelper enablers
Related-To: NEO-6853 Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
parent
5fd8275c68
commit
924eb23c90
|
@ -153,7 +153,8 @@ macro(macro_for_each_platform)
|
|||
foreach(BRANCH ${BRANCH_DIR_LIST})
|
||||
foreach(SRC_FILE ${NEO_SOURCE_DIR}/shared/source${BRANCH}${CORE_TYPE_LOWER}/definitions${BRANCH_DIR_SUFFIX}hw_info_setup_${PLATFORM_IT_LOWER}.inl
|
||||
${NEO_SOURCE_DIR}/shared/source${BRANCH}${CORE_TYPE_LOWER}${BRANCH_DIR}hw_info_${PLATFORM_IT_LOWER}.cpp
|
||||
${NEO_SOURCE_DIR}/shared/source${BRANCH}${CORE_TYPE_LOWER}/compiler_hw_info_config_${PLATFORM_IT_LOWER}.inl
|
||||
${NEO_SOURCE_DIR}/shared/source${BRANCH}${CORE_TYPE_LOWER}${BRANCH_DIR}compiler_hw_info_config_${PLATFORM_IT_LOWER}.inl
|
||||
${NEO_SOURCE_DIR}/shared/source${BRANCH}${CORE_TYPE_LOWER}${BRANCH_DIR}enable_compiler_product_helper_${PLATFORM_IT_LOWER}.cpp
|
||||
)
|
||||
if(EXISTS ${SRC_FILE})
|
||||
list(APPEND CLOC_LIB_SRCS_LIB ${SRC_FILE})
|
||||
|
|
|
@ -101,6 +101,10 @@ macro(macro_for_each_platform)
|
|||
if(EXISTS ${SRC_FILE})
|
||||
list(APPEND ${CORE_TYPE}_SRC_LINK_BASE ${SRC_FILE})
|
||||
endif()
|
||||
set(SRC_FILE ${PATH_TO_CORE}enable_compiler_product_helper_${PLATFORM_IT_LOWER}.cpp)
|
||||
if(EXISTS ${SRC_FILE})
|
||||
list(APPEND ${CORE_TYPE}_SRC_LINK_BASE ${SRC_FILE})
|
||||
endif()
|
||||
set(SRC_FILE ${CMAKE_CURRENT_SOURCE_DIR}/os_interface/linux/local${BRANCH_DIR_SUFFIX}${PLATFORM_IT_LOWER}/enable_ioctl_helper_${PLATFORM_IT_LOWER}.cpp)
|
||||
if(EXISTS ${SRC_FILE})
|
||||
list(APPEND ${CORE_TYPE}_SRC_LINK_LINUX ${SRC_FILE})
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
/*
|
||||
* Copyright (C) 2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "shared/source/helpers/compiler_aot_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config.h"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_base.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_before_xe_hpc.inl"
|
||||
|
||||
#include "hw_info_ehl.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
static EnableCompilerProductHelper<IGFX_ELKHARTLAKE> enableCompilerProductHelperEHL;
|
||||
|
||||
} // namespace NEO
|
|
@ -0,0 +1,20 @@
|
|||
/*
|
||||
* Copyright (C) 2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "shared/source/helpers/compiler_aot_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config.h"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_base.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_before_xe_hpc.inl"
|
||||
|
||||
#include "hw_info_icllp.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
static EnableCompilerProductHelper<IGFX_ICELAKE_LP> enableCompilerProductHelperICLLP;
|
||||
|
||||
} // namespace NEO
|
|
@ -0,0 +1,20 @@
|
|||
/*
|
||||
* Copyright (C) 2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "shared/source/helpers/compiler_aot_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config.h"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_base.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_before_xe_hpc.inl"
|
||||
|
||||
#include "hw_info_lkf.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
static EnableCompilerProductHelper<IGFX_LAKEFIELD> enableCompilerProductHelperLKF;
|
||||
|
||||
} // namespace NEO
|
|
@ -7,10 +7,6 @@
|
|||
|
||||
#include "shared/source/gen11/hw_cmds.h"
|
||||
#include "shared/source/helpers/cache_policy_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_aot_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_base.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_before_xe_hpc.inl"
|
||||
#include "shared/source/helpers/enable_product.inl"
|
||||
#include "shared/source/os_interface/hw_info_config.h"
|
||||
|
||||
|
@ -19,17 +15,17 @@ namespace NEO {
|
|||
#ifdef SUPPORT_ICLLP
|
||||
template struct L1CachePolicyHelper<IGFX_ICELAKE_LP>;
|
||||
static EnableGfxProductHw<IGFX_ICELAKE_LP> enableGfxProductHwICLLP;
|
||||
static EnableCompilerProductHelper<IGFX_ICELAKE_LP> enableCompilerProductHelperICLLP;
|
||||
|
||||
#endif
|
||||
#ifdef SUPPORT_LKF
|
||||
template struct L1CachePolicyHelper<IGFX_LAKEFIELD>;
|
||||
static EnableGfxProductHw<IGFX_LAKEFIELD> enableGfxProductHwLKF;
|
||||
static EnableCompilerProductHelper<IGFX_LAKEFIELD> enableCompilerProductHelperLKF;
|
||||
|
||||
#endif
|
||||
#ifdef SUPPORT_EHL
|
||||
template struct L1CachePolicyHelper<IGFX_ELKHARTLAKE>;
|
||||
static EnableGfxProductHw<IGFX_ELKHARTLAKE> enableGfxProductHwEHL;
|
||||
static EnableCompilerProductHelper<IGFX_ELKHARTLAKE> enableCompilerProductHelperEHL;
|
||||
|
||||
#endif
|
||||
|
||||
} // namespace NEO
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
/*
|
||||
* Copyright (C) 2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "shared/source/helpers/compiler_aot_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config.h"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_base.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_before_xe_hpc.inl"
|
||||
|
||||
#include "hw_info_adln.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
static EnableCompilerProductHelper<IGFX_ALDERLAKE_N> enableCompilerProductHelperADLN;
|
||||
|
||||
} // namespace NEO
|
|
@ -0,0 +1,20 @@
|
|||
/*
|
||||
* Copyright (C) 2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "shared/source/helpers/compiler_aot_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config.h"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_base.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_before_xe_hpc.inl"
|
||||
|
||||
#include "hw_info_adlp.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
static EnableCompilerProductHelper<IGFX_ALDERLAKE_P> enableCompilerProductHelperADLP;
|
||||
|
||||
} // namespace NEO
|
|
@ -0,0 +1,19 @@
|
|||
/*
|
||||
* Copyright (C) 2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "shared/source/helpers/compiler_aot_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config.h"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_base.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_before_xe_hpc.inl"
|
||||
|
||||
#include "hw_info_adls.h"
|
||||
namespace NEO {
|
||||
|
||||
static EnableCompilerProductHelper<IGFX_ALDERLAKE_S> enableCompilerProductHelperADLS;
|
||||
|
||||
} // namespace NEO
|
|
@ -0,0 +1,19 @@
|
|||
/*
|
||||
* Copyright (C) 2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "shared/source/helpers/compiler_aot_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config.h"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_base.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_before_xe_hpc.inl"
|
||||
|
||||
#include "hw_info_dg1.h"
|
||||
namespace NEO {
|
||||
|
||||
static EnableCompilerProductHelper<IGFX_DG1> enableCompilerProductHelperDG1;
|
||||
|
||||
} // namespace NEO
|
|
@ -0,0 +1,20 @@
|
|||
/*
|
||||
* Copyright (C) 2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "shared/source/helpers/compiler_aot_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config.h"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_base.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_before_xe_hpc.inl"
|
||||
|
||||
#include "hw_info_rkl.h"
|
||||
namespace NEO {
|
||||
|
||||
#include "shared/source/gen12lp/compiler_hw_info_config_rkl.inl"
|
||||
static EnableCompilerProductHelper<IGFX_ROCKETLAKE> enableCompilerProductHelperRKL;
|
||||
|
||||
} // namespace NEO
|
|
@ -0,0 +1,20 @@
|
|||
/*
|
||||
* Copyright (C) 2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "shared/source/helpers/compiler_aot_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config.h"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_base.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_before_xe_hpc.inl"
|
||||
|
||||
#include "hw_info_tgllp.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
static EnableCompilerProductHelper<IGFX_TIGERLAKE_LP> enableCompilerProductHelperTGLLP;
|
||||
|
||||
} // namespace NEO
|
|
@ -7,10 +7,6 @@
|
|||
|
||||
#include "shared/source/gen12lp/hw_cmds.h"
|
||||
#include "shared/source/helpers/cache_policy_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_aot_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_base.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_before_xe_hpc.inl"
|
||||
#include "shared/source/helpers/enable_product.inl"
|
||||
#include "shared/source/os_interface/hw_info_config.h"
|
||||
|
||||
|
@ -19,33 +15,30 @@ namespace NEO {
|
|||
#ifdef SUPPORT_TGLLP
|
||||
template struct L1CachePolicyHelper<IGFX_TIGERLAKE_LP>;
|
||||
static EnableGfxProductHw<IGFX_TIGERLAKE_LP> enableGfxProductHwTGLLP;
|
||||
static EnableCompilerProductHelper<IGFX_TIGERLAKE_LP> enableCompilerProductHelperTGLLP;
|
||||
|
||||
#endif
|
||||
#ifdef SUPPORT_DG1
|
||||
template struct L1CachePolicyHelper<IGFX_DG1>;
|
||||
static EnableGfxProductHw<IGFX_DG1> enableGfxProductHwDG1;
|
||||
static EnableCompilerProductHelper<IGFX_DG1> enableCompilerProductHelperDG1;
|
||||
|
||||
#endif
|
||||
#ifdef SUPPORT_RKL
|
||||
template struct L1CachePolicyHelper<IGFX_ROCKETLAKE>;
|
||||
static EnableGfxProductHw<IGFX_ROCKETLAKE> enableGfxProductHwRKL;
|
||||
|
||||
#include "shared/source/gen12lp/compiler_hw_info_config_rkl.inl"
|
||||
static EnableCompilerProductHelper<IGFX_ROCKETLAKE> enableCompilerProductHelperRKL;
|
||||
#endif
|
||||
#ifdef SUPPORT_ADLS
|
||||
template struct L1CachePolicyHelper<IGFX_ALDERLAKE_S>;
|
||||
static EnableGfxProductHw<IGFX_ALDERLAKE_S> enableGfxProductHwADLS;
|
||||
static EnableCompilerProductHelper<IGFX_ALDERLAKE_S> enableCompilerProductHelperADLS;
|
||||
|
||||
#endif
|
||||
#ifdef SUPPORT_ADLP
|
||||
template struct L1CachePolicyHelper<IGFX_ALDERLAKE_P>;
|
||||
static EnableGfxProductHw<IGFX_ALDERLAKE_P> enableGfxProductHwADLP;
|
||||
static EnableCompilerProductHelper<IGFX_ALDERLAKE_P> enableCompilerProductHelperADLP;
|
||||
|
||||
#endif
|
||||
#ifdef SUPPORT_ADLN
|
||||
template struct L1CachePolicyHelper<IGFX_ALDERLAKE_N>;
|
||||
static EnableGfxProductHw<IGFX_ALDERLAKE_N> enableGfxProductHwADLN;
|
||||
static EnableCompilerProductHelper<IGFX_ALDERLAKE_N> enableCompilerProductHelperADLN;
|
||||
#endif
|
||||
} // namespace NEO
|
||||
|
|
|
@ -0,0 +1,21 @@
|
|||
/*
|
||||
* Copyright (C) 2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "shared/source/helpers/compiler_aot_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config.h"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_base.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_before_xe_hpc.inl"
|
||||
|
||||
#include "hw_info_bdw.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
#include "shared/source/gen8/compiler_hw_info_config_bdw.inl"
|
||||
static EnableCompilerProductHelper<IGFX_BROADWELL> enableCompilerProductHelperBDW;
|
||||
|
||||
} // namespace NEO
|
|
@ -7,10 +7,6 @@
|
|||
|
||||
#include "shared/source/gen8/hw_cmds.h"
|
||||
#include "shared/source/helpers/cache_policy_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_aot_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_base.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_before_xe_hpc.inl"
|
||||
#include "shared/source/helpers/enable_product.inl"
|
||||
#include "shared/source/os_interface/hw_info_config.h"
|
||||
|
||||
|
@ -19,9 +15,6 @@ namespace NEO {
|
|||
#ifdef SUPPORT_BDW
|
||||
template struct L1CachePolicyHelper<IGFX_BROADWELL>;
|
||||
static EnableGfxProductHw<IGFX_BROADWELL> enableGfxProductHwBDW;
|
||||
|
||||
#include "shared/source/gen8/compiler_hw_info_config_bdw.inl"
|
||||
static EnableCompilerProductHelper<IGFX_BROADWELL> enableCompilerProductHelperBDW;
|
||||
#endif
|
||||
|
||||
} // namespace NEO
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
/*
|
||||
* Copyright (C) 2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "shared/source/helpers/compiler_aot_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config.h"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_base.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_before_xe_hpc.inl"
|
||||
|
||||
#include "hw_info_bxt.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
static EnableCompilerProductHelper<IGFX_BROXTON> enableCompilerProductHelperBXT;
|
||||
|
||||
} // namespace NEO
|
|
@ -0,0 +1,20 @@
|
|||
/*
|
||||
* Copyright (C) 2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "shared/source/helpers/compiler_aot_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config.h"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_base.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_before_xe_hpc.inl"
|
||||
|
||||
#include "hw_info_cfl.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
static EnableCompilerProductHelper<IGFX_COFFEELAKE> enableCompilerProductHelperCFL;
|
||||
|
||||
} // namespace NEO
|
|
@ -0,0 +1,19 @@
|
|||
/*
|
||||
* Copyright (C) 2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "shared/source/helpers/compiler_aot_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config.h"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_base.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_before_xe_hpc.inl"
|
||||
|
||||
#include "hw_info_glk.h"
|
||||
|
||||
namespace NEO {
|
||||
static EnableCompilerProductHelper<IGFX_GEMINILAKE> enableCompilerProductHelperGLK;
|
||||
|
||||
} // namespace NEO
|
|
@ -0,0 +1,19 @@
|
|||
/*
|
||||
* Copyright (C) 2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "shared/source/helpers/compiler_aot_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config.h"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_base.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_before_xe_hpc.inl"
|
||||
|
||||
#include "hw_info_kbl.h"
|
||||
|
||||
namespace NEO {
|
||||
static EnableCompilerProductHelper<IGFX_KABYLAKE> enableCompilerProductHelperKBL;
|
||||
|
||||
} // namespace NEO
|
|
@ -0,0 +1,20 @@
|
|||
/*
|
||||
* Copyright (C) 2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "shared/source/helpers/compiler_aot_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config.h"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_base.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_before_xe_hpc.inl"
|
||||
|
||||
#include "hw_info_skl.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
static EnableCompilerProductHelper<IGFX_SKYLAKE> enableCompilerProductHelperSKL;
|
||||
|
||||
} // namespace NEO
|
|
@ -7,10 +7,6 @@
|
|||
|
||||
#include "shared/source/gen9/hw_cmds.h"
|
||||
#include "shared/source/helpers/cache_policy_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_aot_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_base.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_before_xe_hpc.inl"
|
||||
#include "shared/source/helpers/enable_product.inl"
|
||||
#include "shared/source/os_interface/hw_info_config.h"
|
||||
|
||||
|
@ -19,27 +15,22 @@ namespace NEO {
|
|||
#ifdef SUPPORT_BXT
|
||||
template struct L1CachePolicyHelper<IGFX_BROXTON>;
|
||||
static EnableGfxProductHw<IGFX_BROXTON> enableGfxProductHwBXT;
|
||||
static EnableCompilerProductHelper<IGFX_BROXTON> enableCompilerProductHelperBXT;
|
||||
#endif
|
||||
#ifdef SUPPORT_CFL
|
||||
template struct L1CachePolicyHelper<IGFX_COFFEELAKE>;
|
||||
static EnableGfxProductHw<IGFX_COFFEELAKE> enableGfxProductHwCFL;
|
||||
static EnableCompilerProductHelper<IGFX_COFFEELAKE> enableCompilerProductHelperCFL;
|
||||
#endif
|
||||
#ifdef SUPPORT_GLK
|
||||
template struct L1CachePolicyHelper<IGFX_GEMINILAKE>;
|
||||
static EnableGfxProductHw<IGFX_GEMINILAKE> enableGfxProductHwGLK;
|
||||
static EnableCompilerProductHelper<IGFX_GEMINILAKE> enableCompilerProductHelperGLK;
|
||||
#endif
|
||||
#ifdef SUPPORT_KBL
|
||||
template struct L1CachePolicyHelper<IGFX_KABYLAKE>;
|
||||
static EnableGfxProductHw<IGFX_KABYLAKE> enableGfxProductHwKBL;
|
||||
static EnableCompilerProductHelper<IGFX_KABYLAKE> enableCompilerProductHelperKBL;
|
||||
#endif
|
||||
#ifdef SUPPORT_SKL
|
||||
template struct L1CachePolicyHelper<IGFX_SKYLAKE>;
|
||||
static EnableGfxProductHw<IGFX_SKYLAKE> enableGfxProductHwSKL;
|
||||
static EnableCompilerProductHelper<IGFX_SKYLAKE> enableCompilerProductHelperSKL;
|
||||
#endif
|
||||
|
||||
} // namespace NEO
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
/*
|
||||
* Copyright (C) 2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "shared/source/helpers/compiler_aot_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config.h"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_base.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_before_xe_hpc.inl"
|
||||
|
||||
#include "hw_info_xehp.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
static EnableCompilerProductHelper<IGFX_XE_HP_SDV> enableCompilerProductHelperXEHP;
|
||||
|
||||
} // namespace NEO
|
|
@ -6,10 +6,6 @@
|
|||
*/
|
||||
|
||||
#include "shared/source/helpers/cache_policy_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_aot_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_base.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_before_xe_hpc.inl"
|
||||
#include "shared/source/helpers/enable_product.inl"
|
||||
#include "shared/source/os_interface/hw_info_config.h"
|
||||
#include "shared/source/xe_hp_core/hw_cmds.h"
|
||||
|
@ -19,6 +15,6 @@ namespace NEO {
|
|||
#ifdef SUPPORT_XE_HP_SDV
|
||||
template struct L1CachePolicyHelper<IGFX_XE_HP_SDV>;
|
||||
static EnableGfxProductHw<IGFX_XE_HP_SDV> enableGfxProductHwXEHP;
|
||||
static EnableCompilerProductHelper<IGFX_XE_HP_SDV> enableCompilerProductHelperXEHP;
|
||||
|
||||
#endif
|
||||
} // namespace NEO
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
/*
|
||||
* Copyright (C) 2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "shared/source/helpers/compiler_aot_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config.h"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_base.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_xe_hpc_and_later.inl"
|
||||
|
||||
#include "hw_info_pvc.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
static EnableCompilerProductHelper<IGFX_PVC> enableCompilerProductHelperPVC;
|
||||
|
||||
} // namespace NEO
|
|
@ -6,10 +6,6 @@
|
|||
*/
|
||||
|
||||
#include "shared/source/helpers/cache_policy_dg2_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_aot_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_base.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_xe_hpc_and_later.inl"
|
||||
#include "shared/source/helpers/enable_product.inl"
|
||||
#include "shared/source/os_interface/hw_info_config.h"
|
||||
#include "shared/source/xe_hpc_core/hw_cmds.h"
|
||||
|
@ -19,7 +15,7 @@ namespace NEO {
|
|||
#ifdef SUPPORT_PVC
|
||||
static EnableGfxProductHw<IGFX_PVC> enableGfxProductHwPVC;
|
||||
template struct L1CachePolicyHelper<IGFX_PVC>;
|
||||
static EnableCompilerProductHelper<IGFX_PVC> enableCompilerProductHelperPVC;
|
||||
|
||||
#endif
|
||||
|
||||
} // namespace NEO
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
/*
|
||||
* Copyright (C) 2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "shared/source/helpers/compiler_aot_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config.h"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_base.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_before_xe_hpc.inl"
|
||||
|
||||
#include "hw_info_dg2.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
static EnableCompilerProductHelper<IGFX_DG2> enableCompilerProductHelperDG2;
|
||||
|
||||
} // namespace NEO
|
|
@ -6,10 +6,6 @@
|
|||
*/
|
||||
|
||||
#include "shared/source/helpers/cache_policy_dg2_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_aot_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_base.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_hw_info_config_before_xe_hpc.inl"
|
||||
#include "shared/source/helpers/enable_product.inl"
|
||||
#include "shared/source/os_interface/hw_info_config.h"
|
||||
#include "shared/source/xe_hpg_core/hw_cmds.h"
|
||||
|
@ -28,6 +24,6 @@ uint32_t L1CachePolicyHelper<IGFX_DG2>::getDefaultL1CachePolicy(bool isDebuggerA
|
|||
|
||||
template struct L1CachePolicyHelper<IGFX_DG2>;
|
||||
static EnableGfxProductHw<IGFX_DG2> enableGfxProductHwDG2;
|
||||
static EnableCompilerProductHelper<IGFX_DG2> enableCompilerProductHelperDG2;
|
||||
|
||||
#endif
|
||||
} // namespace NEO
|
||||
|
|
|
@ -13,6 +13,10 @@ macro(macro_for_each_platform)
|
|||
if(EXISTS ${SRC_FILE})
|
||||
list(APPEND neo_libult_common_SRCS_ENABLE_TESTED_HW ${SRC_FILE})
|
||||
endif()
|
||||
set(SRC_FILE ${NEO_SHARED_DIRECTORY}${BRANCH_DIR}${CORE_TYPE_LOWER}${BRANCH}enable_compiler_product_helper_${PLATFORM_IT_LOWER}.cpp)
|
||||
if(EXISTS ${SRC_FILE})
|
||||
list(APPEND neo_libult_common_SRCS_ENABLE_TESTED_HW ${SRC_FILE})
|
||||
endif()
|
||||
set(SRC_FILE ${NEO_SHARED_DIRECTORY}/os_interface/linux/local${BRANCH_DIR_SUFFIX}${PLATFORM_IT_LOWER}/enable_ioctl_helper_${PLATFORM_IT_LOWER}.cpp)
|
||||
if(EXISTS ${SRC_FILE})
|
||||
list(APPEND neo_libult_common_SRCS_ENABLE_TESTED_HW_LINUX ${SRC_FILE})
|
||||
|
|
Loading…
Reference in New Issue