From 648c45cbb707e8cd79860b49d182feeef8c6d43c Mon Sep 17 00:00:00 2001 From: Kamil Kopryk Date: Wed, 8 Mar 2023 09:07:47 +0000 Subject: [PATCH] refactor: correct typo enable product helper Related-To: NEO-7703 Signed-off-by: Kamil Kopryk --- shared/source/gen11/enable_hw_info_config_ehl.cpp | 2 +- shared/source/gen11/enable_hw_info_config_icllp.cpp | 2 +- shared/source/gen11/enable_hw_info_config_lkf.cpp | 2 +- shared/source/gen12lp/enable_hw_info_config_adln.cpp | 2 +- shared/source/gen12lp/enable_hw_info_config_adlp.cpp | 2 +- shared/source/gen12lp/enable_hw_info_config_adls.cpp | 2 +- shared/source/gen12lp/enable_hw_info_config_dg1.cpp | 2 +- shared/source/gen12lp/enable_hw_info_config_rkl.cpp | 2 +- shared/source/gen12lp/enable_hw_info_config_tgllp.cpp | 2 +- shared/source/gen8/enable_hw_info_config_bdw.cpp | 2 +- shared/source/gen9/enable_hw_info_config_bxt.cpp | 2 +- shared/source/gen9/enable_hw_info_config_cfl.cpp | 2 +- shared/source/gen9/enable_hw_info_config_glk.cpp | 2 +- shared/source/gen9/enable_hw_info_config_kbl.cpp | 2 +- shared/source/gen9/enable_hw_info_config_skl.cpp | 2 +- shared/source/os_interface/product_helper_hw.h | 4 ++-- shared/source/xe_hp_core/enable_hw_info_config_xe_hp_sdv.cpp | 2 +- shared/source/xe_hpc_core/enable_hw_info_config_pvc.cpp | 2 +- shared/source/xe_hpg_core/enable_hw_info_config_dg2.cpp | 2 +- shared/source/xe_hpg_core/enable_hw_info_config_mtl.cpp | 2 +- 20 files changed, 21 insertions(+), 21 deletions(-) diff --git a/shared/source/gen11/enable_hw_info_config_ehl.cpp b/shared/source/gen11/enable_hw_info_config_ehl.cpp index 2e638432af..bbcc79cbf2 100644 --- a/shared/source/gen11/enable_hw_info_config_ehl.cpp +++ b/shared/source/gen11/enable_hw_info_config_ehl.cpp @@ -11,6 +11,6 @@ namespace NEO { -static EnableProductProductHelper enableEHL; +static EnableProductHelper enableEHL; } // namespace NEO diff --git a/shared/source/gen11/enable_hw_info_config_icllp.cpp b/shared/source/gen11/enable_hw_info_config_icllp.cpp index 1e54cdaf36..a2eea833c0 100644 --- a/shared/source/gen11/enable_hw_info_config_icllp.cpp +++ b/shared/source/gen11/enable_hw_info_config_icllp.cpp @@ -11,6 +11,6 @@ namespace NEO { -static EnableProductProductHelper enableICLLP; +static EnableProductHelper enableICLLP; } // namespace NEO diff --git a/shared/source/gen11/enable_hw_info_config_lkf.cpp b/shared/source/gen11/enable_hw_info_config_lkf.cpp index 3956e46b40..6176a835b5 100644 --- a/shared/source/gen11/enable_hw_info_config_lkf.cpp +++ b/shared/source/gen11/enable_hw_info_config_lkf.cpp @@ -11,6 +11,6 @@ namespace NEO { -static EnableProductProductHelper enableLKF; +static EnableProductHelper enableLKF; } // namespace NEO diff --git a/shared/source/gen12lp/enable_hw_info_config_adln.cpp b/shared/source/gen12lp/enable_hw_info_config_adln.cpp index de68c0f199..f913f00251 100644 --- a/shared/source/gen12lp/enable_hw_info_config_adln.cpp +++ b/shared/source/gen12lp/enable_hw_info_config_adln.cpp @@ -12,6 +12,6 @@ namespace NEO { -static EnableProductProductHelper enableADLN; +static EnableProductHelper enableADLN; } // namespace NEO diff --git a/shared/source/gen12lp/enable_hw_info_config_adlp.cpp b/shared/source/gen12lp/enable_hw_info_config_adlp.cpp index f441f012df..8ba13f31fa 100644 --- a/shared/source/gen12lp/enable_hw_info_config_adlp.cpp +++ b/shared/source/gen12lp/enable_hw_info_config_adlp.cpp @@ -12,6 +12,6 @@ namespace NEO { -static EnableProductProductHelper enableADLP; +static EnableProductHelper enableADLP; } // namespace NEO diff --git a/shared/source/gen12lp/enable_hw_info_config_adls.cpp b/shared/source/gen12lp/enable_hw_info_config_adls.cpp index 4c9faea16a..fd861a5946 100644 --- a/shared/source/gen12lp/enable_hw_info_config_adls.cpp +++ b/shared/source/gen12lp/enable_hw_info_config_adls.cpp @@ -12,6 +12,6 @@ namespace NEO { -static EnableProductProductHelper enableADLS; +static EnableProductHelper enableADLS; } // namespace NEO diff --git a/shared/source/gen12lp/enable_hw_info_config_dg1.cpp b/shared/source/gen12lp/enable_hw_info_config_dg1.cpp index 7ec4324040..82933b2962 100644 --- a/shared/source/gen12lp/enable_hw_info_config_dg1.cpp +++ b/shared/source/gen12lp/enable_hw_info_config_dg1.cpp @@ -12,6 +12,6 @@ namespace NEO { -static EnableProductProductHelper enableDG1; +static EnableProductHelper enableDG1; } // namespace NEO diff --git a/shared/source/gen12lp/enable_hw_info_config_rkl.cpp b/shared/source/gen12lp/enable_hw_info_config_rkl.cpp index c050fd03cf..5820e3dc74 100644 --- a/shared/source/gen12lp/enable_hw_info_config_rkl.cpp +++ b/shared/source/gen12lp/enable_hw_info_config_rkl.cpp @@ -12,6 +12,6 @@ namespace NEO { -static EnableProductProductHelper enableRKL; +static EnableProductHelper enableRKL; } // namespace NEO diff --git a/shared/source/gen12lp/enable_hw_info_config_tgllp.cpp b/shared/source/gen12lp/enable_hw_info_config_tgllp.cpp index 1fa8a27413..b689c8bc22 100644 --- a/shared/source/gen12lp/enable_hw_info_config_tgllp.cpp +++ b/shared/source/gen12lp/enable_hw_info_config_tgllp.cpp @@ -12,6 +12,6 @@ namespace NEO { -static EnableProductProductHelper enableTGLLP; +static EnableProductHelper enableTGLLP; } // namespace NEO diff --git a/shared/source/gen8/enable_hw_info_config_bdw.cpp b/shared/source/gen8/enable_hw_info_config_bdw.cpp index 1de61ef6fd..bd7ed68df8 100644 --- a/shared/source/gen8/enable_hw_info_config_bdw.cpp +++ b/shared/source/gen8/enable_hw_info_config_bdw.cpp @@ -11,6 +11,6 @@ namespace NEO { -static EnableProductProductHelper enableBDW; +static EnableProductHelper enableBDW; } // namespace NEO diff --git a/shared/source/gen9/enable_hw_info_config_bxt.cpp b/shared/source/gen9/enable_hw_info_config_bxt.cpp index 7e2a7790ce..6d47a9ccbf 100644 --- a/shared/source/gen9/enable_hw_info_config_bxt.cpp +++ b/shared/source/gen9/enable_hw_info_config_bxt.cpp @@ -11,6 +11,6 @@ namespace NEO { -static EnableProductProductHelper enableBXT; +static EnableProductHelper enableBXT; } // namespace NEO diff --git a/shared/source/gen9/enable_hw_info_config_cfl.cpp b/shared/source/gen9/enable_hw_info_config_cfl.cpp index 8cdd1026bf..ee9ffe655e 100644 --- a/shared/source/gen9/enable_hw_info_config_cfl.cpp +++ b/shared/source/gen9/enable_hw_info_config_cfl.cpp @@ -11,6 +11,6 @@ namespace NEO { -static EnableProductProductHelper enableCFL; +static EnableProductHelper enableCFL; } // namespace NEO diff --git a/shared/source/gen9/enable_hw_info_config_glk.cpp b/shared/source/gen9/enable_hw_info_config_glk.cpp index a4c498226c..83d8241fa4 100644 --- a/shared/source/gen9/enable_hw_info_config_glk.cpp +++ b/shared/source/gen9/enable_hw_info_config_glk.cpp @@ -11,6 +11,6 @@ namespace NEO { -static EnableProductProductHelper enableGLK; +static EnableProductHelper enableGLK; } // namespace NEO diff --git a/shared/source/gen9/enable_hw_info_config_kbl.cpp b/shared/source/gen9/enable_hw_info_config_kbl.cpp index b7d00a1283..7124ca432e 100644 --- a/shared/source/gen9/enable_hw_info_config_kbl.cpp +++ b/shared/source/gen9/enable_hw_info_config_kbl.cpp @@ -11,6 +11,6 @@ namespace NEO { -static EnableProductProductHelper enableKBL; +static EnableProductHelper enableKBL; } // namespace NEO diff --git a/shared/source/gen9/enable_hw_info_config_skl.cpp b/shared/source/gen9/enable_hw_info_config_skl.cpp index 5384694eb7..0808a9df29 100644 --- a/shared/source/gen9/enable_hw_info_config_skl.cpp +++ b/shared/source/gen9/enable_hw_info_config_skl.cpp @@ -11,6 +11,6 @@ namespace NEO { -static EnableProductProductHelper enableSKL; +static EnableProductHelper enableSKL; } // namespace NEO diff --git a/shared/source/os_interface/product_helper_hw.h b/shared/source/os_interface/product_helper_hw.h index df754217db..5ecb2de3ae 100644 --- a/shared/source/os_interface/product_helper_hw.h +++ b/shared/source/os_interface/product_helper_hw.h @@ -176,11 +176,11 @@ class ProductHelperHw : public ProductHelper { }; template -struct EnableProductProductHelper { +struct EnableProductHelper { using GfxProduct = typename HwMapper::GfxProduct; - EnableProductProductHelper() { + EnableProductHelper() { auto productHelperCreateFunction = ProductHelperHw::create; productHelperFactory[gfxProduct] = productHelperCreateFunction; } diff --git a/shared/source/xe_hp_core/enable_hw_info_config_xe_hp_sdv.cpp b/shared/source/xe_hp_core/enable_hw_info_config_xe_hp_sdv.cpp index 30a90f007c..079adfea3d 100644 --- a/shared/source/xe_hp_core/enable_hw_info_config_xe_hp_sdv.cpp +++ b/shared/source/xe_hp_core/enable_hw_info_config_xe_hp_sdv.cpp @@ -11,6 +11,6 @@ namespace NEO { -static EnableProductProductHelper enableXEHP; +static EnableProductHelper enableXEHP; } // namespace NEO diff --git a/shared/source/xe_hpc_core/enable_hw_info_config_pvc.cpp b/shared/source/xe_hpc_core/enable_hw_info_config_pvc.cpp index 96bb5d03d9..2b55a23993 100644 --- a/shared/source/xe_hpc_core/enable_hw_info_config_pvc.cpp +++ b/shared/source/xe_hpc_core/enable_hw_info_config_pvc.cpp @@ -11,6 +11,6 @@ namespace NEO { -static EnableProductProductHelper enablePVC; +static EnableProductHelper enablePVC; } // namespace NEO diff --git a/shared/source/xe_hpg_core/enable_hw_info_config_dg2.cpp b/shared/source/xe_hpg_core/enable_hw_info_config_dg2.cpp index b9642b79b4..d97152a019 100644 --- a/shared/source/xe_hpg_core/enable_hw_info_config_dg2.cpp +++ b/shared/source/xe_hpg_core/enable_hw_info_config_dg2.cpp @@ -11,6 +11,6 @@ namespace NEO { -static EnableProductProductHelper enableDG2; +static EnableProductHelper enableDG2; } // namespace NEO diff --git a/shared/source/xe_hpg_core/enable_hw_info_config_mtl.cpp b/shared/source/xe_hpg_core/enable_hw_info_config_mtl.cpp index e3bdf4f977..71db17f376 100644 --- a/shared/source/xe_hpg_core/enable_hw_info_config_mtl.cpp +++ b/shared/source/xe_hpg_core/enable_hw_info_config_mtl.cpp @@ -11,6 +11,6 @@ namespace NEO { -static EnableProductProductHelper enableMTL; +static EnableProductHelper enableMTL; } // namespace NEO