Split hwInfoConfig and CompilerProductHelper enablers

Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
Kamil Kopryk
2022-12-12 14:59:04 +00:00
committed by Compute-Runtime-Automation
parent 5fd8275c68
commit 924eb23c90
28 changed files with 377 additions and 50 deletions

View File

@@ -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

View File

@@ -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