mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 15:53:45 +08:00
Split hwInfoConfig and CompilerProductHelper enablers
Related-To: NEO-6853 Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
5fd8275c68
commit
924eb23c90
20
shared/source/gen9/enable_compiler_product_helper_bxt.cpp
Normal file
20
shared/source/gen9/enable_compiler_product_helper_bxt.cpp
Normal 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_bxt.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
static EnableCompilerProductHelper<IGFX_BROXTON> enableCompilerProductHelperBXT;
|
||||
|
||||
} // namespace NEO
|
||||
20
shared/source/gen9/enable_compiler_product_helper_cfl.cpp
Normal file
20
shared/source/gen9/enable_compiler_product_helper_cfl.cpp
Normal 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_cfl.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
static EnableCompilerProductHelper<IGFX_COFFEELAKE> enableCompilerProductHelperCFL;
|
||||
|
||||
} // namespace NEO
|
||||
19
shared/source/gen9/enable_compiler_product_helper_glk.cpp
Normal file
19
shared/source/gen9/enable_compiler_product_helper_glk.cpp
Normal file
@@ -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
|
||||
19
shared/source/gen9/enable_compiler_product_helper_kbl.cpp
Normal file
19
shared/source/gen9/enable_compiler_product_helper_kbl.cpp
Normal file
@@ -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
|
||||
20
shared/source/gen9/enable_compiler_product_helper_skl.cpp
Normal file
20
shared/source/gen9/enable_compiler_product_helper_skl.cpp
Normal 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_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
|
||||
|
||||
Reference in New Issue
Block a user