refactor: adjust product helper file name after pre-gen12 removal

Related-To: NEO-12681
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
This commit is contained in:
Jaroslaw Warchulski 2025-03-24 18:42:04 +00:00 committed by Compute-Runtime-Automation
parent 2b340528cf
commit 1230ab99aa
15 changed files with 19 additions and 40 deletions

View File

@ -10,7 +10,7 @@
#include "shared/source/helpers/hw_info.h"
#include "shared/source/os_interface/product_helper.h"
#include "shared/source/os_interface/product_helper.inl"
#include "shared/source/os_interface/product_helper_tgllp_and_later.inl"
#include "shared/source/os_interface/product_helper_before_xe_hpg.inl"
constexpr static auto gfxProduct = IGFX_ALDERLAKE_N;

View File

@ -12,7 +12,7 @@
#include "shared/source/helpers/pipeline_select_helper.h"
#include "shared/source/os_interface/product_helper.h"
#include "shared/source/os_interface/product_helper.inl"
#include "shared/source/os_interface/product_helper_tgllp_and_later.inl"
#include "shared/source/os_interface/product_helper_before_xe_hpg.inl"
constexpr static auto gfxProduct = IGFX_ALDERLAKE_P;

View File

@ -10,7 +10,7 @@
#include "shared/source/helpers/hw_info.h"
#include "shared/source/os_interface/product_helper.h"
#include "shared/source/os_interface/product_helper.inl"
#include "shared/source/os_interface/product_helper_tgllp_and_later.inl"
#include "shared/source/os_interface/product_helper_before_xe_hpg.inl"
constexpr static auto gfxProduct = IGFX_ALDERLAKE_S;

View File

@ -10,7 +10,7 @@
#include "shared/source/helpers/hw_info.h"
#include "shared/source/os_interface/product_helper.h"
#include "shared/source/os_interface/product_helper.inl"
#include "shared/source/os_interface/product_helper_tgllp_and_later.inl"
#include "shared/source/os_interface/product_helper_before_xe_hpg.inl"
constexpr static auto gfxProduct = IGFX_DG1;

View File

@ -10,7 +10,7 @@
#include "shared/source/helpers/hw_info.h"
#include "shared/source/os_interface/product_helper.h"
#include "shared/source/os_interface/product_helper.inl"
#include "shared/source/os_interface/product_helper_tgllp_and_later.inl"
#include "shared/source/os_interface/product_helper_before_xe_hpg.inl"
constexpr static auto gfxProduct = IGFX_ROCKETLAKE;

View File

@ -10,7 +10,7 @@
#include "shared/source/helpers/hw_info.h"
#include "shared/source/os_interface/product_helper.h"
#include "shared/source/os_interface/product_helper.inl"
#include "shared/source/os_interface/product_helper_tgllp_and_later.inl"
#include "shared/source/os_interface/product_helper_before_xe_hpg.inl"
constexpr static auto gfxProduct = IGFX_TIGERLAKE_LP;

View File

@ -10,7 +10,7 @@
#include "shared/source/helpers/hw_info.h"
#include "shared/source/os_interface/product_helper.h"
#include "shared/source/os_interface/product_helper.inl"
#include "shared/source/os_interface/product_helper_tgllp_and_later.inl"
#include "shared/source/os_interface/product_helper_before_xe_hpg.inl"
constexpr static auto gfxProduct = IGFX_ALDERLAKE_N;

View File

@ -12,7 +12,7 @@
#include "shared/source/helpers/pipeline_select_helper.h"
#include "shared/source/os_interface/product_helper.h"
#include "shared/source/os_interface/product_helper.inl"
#include "shared/source/os_interface/product_helper_tgllp_and_later.inl"
#include "shared/source/os_interface/product_helper_before_xe_hpg.inl"
constexpr static auto gfxProduct = IGFX_ALDERLAKE_P;

View File

@ -10,7 +10,7 @@
#include "shared/source/helpers/hw_info.h"
#include "shared/source/os_interface/product_helper.h"
#include "shared/source/os_interface/product_helper.inl"
#include "shared/source/os_interface/product_helper_tgllp_and_later.inl"
#include "shared/source/os_interface/product_helper_before_xe_hpg.inl"
constexpr static auto gfxProduct = IGFX_ALDERLAKE_S;

View File

@ -10,7 +10,7 @@
#include "shared/source/helpers/hw_info.h"
#include "shared/source/os_interface/product_helper.h"
#include "shared/source/os_interface/product_helper.inl"
#include "shared/source/os_interface/product_helper_tgllp_and_later.inl"
#include "shared/source/os_interface/product_helper_before_xe_hpg.inl"
constexpr static auto gfxProduct = IGFX_DG1;

View File

@ -10,7 +10,7 @@
#include "shared/source/helpers/hw_info.h"
#include "shared/source/os_interface/product_helper.h"
#include "shared/source/os_interface/product_helper.inl"
#include "shared/source/os_interface/product_helper_tgllp_and_later.inl"
#include "shared/source/os_interface/product_helper_before_xe_hpg.inl"
constexpr static auto gfxProduct = IGFX_ROCKETLAKE;

View File

@ -10,7 +10,7 @@
#include "shared/source/helpers/hw_info.h"
#include "shared/source/os_interface/product_helper.h"
#include "shared/source/os_interface/product_helper.inl"
#include "shared/source/os_interface/product_helper_tgllp_and_later.inl"
#include "shared/source/os_interface/product_helper_before_xe_hpg.inl"
constexpr static auto gfxProduct = IGFX_TIGERLAKE_LP;

View File

@ -23,17 +23,12 @@ set(NEO_CORE_OS_INTERFACE
${CMAKE_CURRENT_SOURCE_DIR}/device_factory.h
${CMAKE_CURRENT_SOURCE_DIR}/driver_info.h
${CMAKE_CURRENT_SOURCE_DIR}/external_semaphore.h
${CMAKE_CURRENT_SOURCE_DIR}/product_helper.cpp
${CMAKE_CURRENT_SOURCE_DIR}/product_helper.h
${CMAKE_CURRENT_SOURCE_DIR}/product_helper.inl
${CMAKE_CURRENT_SOURCE_DIR}/product_helper_tgllp_and_later.inl
${CMAKE_CURRENT_SOURCE_DIR}/product_helper_xe_hpc_and_later.inl
${CMAKE_CURRENT_SOURCE_DIR}/product_helper_xe2_and_later.inl
${CMAKE_CURRENT_SOURCE_DIR}/metrics_library.cpp
${CMAKE_CURRENT_SOURCE_DIR}/os_context.cpp
${CMAKE_CURRENT_SOURCE_DIR}/os_context.h
${CMAKE_CURRENT_SOURCE_DIR}/os_environment.h
${CMAKE_CURRENT_SOURCE_DIR}/os_handle.h
${CMAKE_CURRENT_SOURCE_DIR}/os_inc_base.h
${CMAKE_CURRENT_SOURCE_DIR}/os_interface.cpp
${CMAKE_CURRENT_SOURCE_DIR}/os_interface.h
${CMAKE_CURRENT_SOURCE_DIR}/os_library.cpp
@ -46,8 +41,13 @@ set(NEO_CORE_OS_INTERFACE
${CMAKE_CURRENT_SOURCE_DIR}/performance_counters.cpp
${CMAKE_CURRENT_SOURCE_DIR}/performance_counters.h
${CMAKE_CURRENT_SOURCE_DIR}/print.h
${CMAKE_CURRENT_SOURCE_DIR}/product_helper.cpp
${CMAKE_CURRENT_SOURCE_DIR}/product_helper.h
${CMAKE_CURRENT_SOURCE_DIR}/product_helper.inl
${CMAKE_CURRENT_SOURCE_DIR}/product_helper_before_xe_hpg.inl
${CMAKE_CURRENT_SOURCE_DIR}/product_helper_hw.h
${CMAKE_CURRENT_SOURCE_DIR}/os_inc_base.h
${CMAKE_CURRENT_SOURCE_DIR}/product_helper_xe_hpc_and_later.inl
${CMAKE_CURRENT_SOURCE_DIR}/product_helper_xe2_and_later.inl
${CMAKE_CURRENT_SOURCE_DIR}/sys_calls_common.h
)

View File

@ -1,21 +0,0 @@
/*
* Copyright (C) 2019-2024 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/source/os_interface/product_helper.h"
namespace NEO {
template <>
void ProductHelperHw<gfxProduct>::adjustSamplerState(void *sampler, const HardwareInfo &hwInfo) const {
}
template <>
size_t ProductHelperHw<gfxProduct>::getMaxFillPaternSizeForCopyEngine() const {
return sizeof(uint32_t);
}
} // namespace NEO