From 5d79a84448b7bc885a7adc950678df6154ca664d Mon Sep 17 00:00:00 2001 From: Zbigniew Zdanowicz Date: Thu, 10 Nov 2022 11:38:56 +0000 Subject: [PATCH] Enable front end tracking on xe_hp+ platforms Related-To: NEO-5019 Signed-off-by: Zbigniew Zdanowicz --- .../core/source/hw_helpers/l0_hw_helper_xehp_and_later.inl | 2 +- .../core/source/xe_hp_core/l0_hw_helper_xe_hp_core.cpp | 5 ----- .../core/source/xe_hpc_core/l0_hw_helper_xe_hpc_core.cpp | 5 ----- .../core/source/xe_hpg_core/l0_hw_helper_xe_hpg_core.cpp | 5 ----- 4 files changed, 1 insertion(+), 16 deletions(-) diff --git a/level_zero/core/source/hw_helpers/l0_hw_helper_xehp_and_later.inl b/level_zero/core/source/hw_helpers/l0_hw_helper_xehp_and_later.inl index a6f7beb39c..c47273dfce 100644 --- a/level_zero/core/source/hw_helpers/l0_hw_helper_xehp_and_later.inl +++ b/level_zero/core/source/hw_helpers/l0_hw_helper_xehp_and_later.inl @@ -28,7 +28,7 @@ bool L0HwHelperHw::platformSupportsStateComputeModeTracking(const NEO::H template bool L0HwHelperHw::platformSupportsFrontEndTracking(const NEO::HardwareInfo &hwInfo) const { - return false; + return true; } template diff --git a/level_zero/core/source/xe_hp_core/l0_hw_helper_xe_hp_core.cpp b/level_zero/core/source/xe_hp_core/l0_hw_helper_xe_hp_core.cpp index 746a1582c2..38c831e50d 100644 --- a/level_zero/core/source/xe_hp_core/l0_hw_helper_xe_hp_core.cpp +++ b/level_zero/core/source/xe_hp_core/l0_hw_helper_xe_hp_core.cpp @@ -36,11 +36,6 @@ template <> void L0HwHelperHw::setAdditionalGroupProperty(ze_command_queue_group_properties_t &groupProperty, NEO::EngineGroupT &group) const { } -template <> -bool L0HwHelperHw::platformSupportsFrontEndTracking(const NEO::HardwareInfo &hwInfo) const { - return true; -} - // clang-format off #include "level_zero/core/source/hw_helpers/l0_hw_helper_tgllp_plus.inl" // clang-format on diff --git a/level_zero/core/source/xe_hpc_core/l0_hw_helper_xe_hpc_core.cpp b/level_zero/core/source/xe_hpc_core/l0_hw_helper_xe_hpc_core.cpp index dcd87efc6c..7b74818ee8 100644 --- a/level_zero/core/source/xe_hpc_core/l0_hw_helper_xe_hpc_core.cpp +++ b/level_zero/core/source/xe_hpc_core/l0_hw_helper_xe_hpc_core.cpp @@ -33,11 +33,6 @@ bool L0HwHelperHw::alwaysAllocateEventInLocalMem() const { return true; } -template <> -bool L0HwHelperHw::platformSupportsFrontEndTracking(const NEO::HardwareInfo &hwInfo) const { - return true; -} - template class L0HwHelperHw; } // namespace L0 diff --git a/level_zero/core/source/xe_hpg_core/l0_hw_helper_xe_hpg_core.cpp b/level_zero/core/source/xe_hpg_core/l0_hw_helper_xe_hpg_core.cpp index 7acfb2acef..34825bdb4d 100644 --- a/level_zero/core/source/xe_hpg_core/l0_hw_helper_xe_hpg_core.cpp +++ b/level_zero/core/source/xe_hpg_core/l0_hw_helper_xe_hpg_core.cpp @@ -31,11 +31,6 @@ template <> void L0HwHelperHw::setAdditionalGroupProperty(ze_command_queue_group_properties_t &groupProperty, NEO::EngineGroupT &group) const { } -template <> -bool L0HwHelperHw::platformSupportsFrontEndTracking(const NEO::HardwareInfo &hwInfo) const { - return true; -} - // clang-format off #include "level_zero/core/source/hw_helpers/l0_hw_helper_tgllp_plus.inl" // clang-format on