mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-11 00:10:58 +08:00
Rename HwInfoConfig to ProductHelper
Related-To: NEO-6853 Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
a1cf7fb938
commit
232b886056
@@ -9,12 +9,12 @@
|
||||
|
||||
namespace NEO {
|
||||
template <>
|
||||
AOT::PRODUCT_CONFIG HwInfoConfigHw<gfxProduct>::getProductConfigFromHwInfo(const HardwareInfo &hwInfo) const {
|
||||
AOT::PRODUCT_CONFIG ProductHelperHw<gfxProduct>::getProductConfigFromHwInfo(const HardwareInfo &hwInfo) const {
|
||||
return AOT::BDW;
|
||||
}
|
||||
|
||||
template <>
|
||||
std::optional<aub_stream::ProductFamily> HwInfoConfigHw<gfxProduct>::getAubStreamProductFamily() const {
|
||||
std::optional<aub_stream::ProductFamily> ProductHelperHw<gfxProduct>::getAubStreamProductFamily() const {
|
||||
return aub_stream::ProductFamily::Bdw;
|
||||
};
|
||||
|
||||
|
||||
@@ -10,6 +10,6 @@
|
||||
|
||||
namespace NEO {
|
||||
|
||||
static EnableProductHwInfoConfig<IGFX_BROADWELL> enableBDW;
|
||||
static EnableProductProductHelper<IGFX_BROADWELL> enableBDW;
|
||||
|
||||
} // namespace NEO
|
||||
|
||||
@@ -20,7 +20,7 @@ constexpr static auto gfxProduct = IGFX_BROADWELL;
|
||||
namespace NEO {
|
||||
|
||||
template <>
|
||||
int HwInfoConfigHw<gfxProduct>::configureHardwareCustom(HardwareInfo *hwInfo, OSInterface *osIface) const {
|
||||
int ProductHelperHw<gfxProduct>::configureHardwareCustom(HardwareInfo *hwInfo, OSInterface *osIface) const {
|
||||
if (nullptr == osIface) {
|
||||
return 0;
|
||||
}
|
||||
@@ -42,6 +42,6 @@ int HwInfoConfigHw<gfxProduct>::configureHardwareCustom(HardwareInfo *hwInfo, OS
|
||||
return 0;
|
||||
}
|
||||
|
||||
template class HwInfoConfigHw<gfxProduct>;
|
||||
template class ProductHelperHw<gfxProduct>;
|
||||
|
||||
} // namespace NEO
|
||||
|
||||
@@ -17,4 +17,4 @@ constexpr static auto gfxProduct = IGFX_BROADWELL;
|
||||
|
||||
#include "shared/source/gen8/bdw/os_agnostic_hw_info_config_bdw.inl"
|
||||
|
||||
template class NEO::HwInfoConfigHw<gfxProduct>;
|
||||
template class NEO::ProductHelperHw<gfxProduct>;
|
||||
|
||||
Reference in New Issue
Block a user