diff --git a/shared/source/xe2_hpg_core/bmg/definitions/wmtp_setup_bmg.inl b/shared/source/xe2_hpg_core/bmg/definitions/wmtp_setup_bmg.inl deleted file mode 100644 index b072211123..0000000000 --- a/shared/source/xe2_hpg_core/bmg/definitions/wmtp_setup_bmg.inl +++ /dev/null @@ -1,10 +0,0 @@ -/* - * Copyright (C) 2024 Intel Corporation - * - * SPDX-License-Identifier: MIT - * - */ - -namespace NEO { -constexpr bool wmtpSupported = false; -} // namespace NEO diff --git a/shared/source/xe2_hpg_core/enable_compiler_product_helper_bmg.cpp b/shared/source/xe2_hpg_core/enable_compiler_product_helper_bmg.cpp index 0cc96af253..e7e14cc310 100644 --- a/shared/source/xe2_hpg_core/enable_compiler_product_helper_bmg.cpp +++ b/shared/source/xe2_hpg_core/enable_compiler_product_helper_bmg.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2024 Intel Corporation + * Copyright (C) 2024-2025 Intel Corporation * * SPDX-License-Identifier: MIT * @@ -14,7 +14,6 @@ #include "shared/source/helpers/compiler_product_helper_xe_hpc_and_later.inl" #include "platforms.h" -#include "wmtp_setup_bmg.inl" namespace NEO { template <> @@ -22,11 +21,6 @@ uint32_t CompilerProductHelperHw::getDefaultHwIpVersion() const { return AOT::BMG_G21_A0; } -template <> -bool CompilerProductHelperHw::isMidThreadPreemptionSupported(const HardwareInfo &hwInfo) const { - return hwInfo.featureTable.flags.ftrWalkerMTP && wmtpSupported; -} - static EnableCompilerProductHelper enableCompilerProductHelperBMG; } // namespace NEO diff --git a/shared/test/unit_test/xe2_hpg_core/bmg/product_helper_tests_bmg.cpp b/shared/test/unit_test/xe2_hpg_core/bmg/product_helper_tests_bmg.cpp index 3335c86d25..11d9d3894a 100644 --- a/shared/test/unit_test/xe2_hpg_core/bmg/product_helper_tests_bmg.cpp +++ b/shared/test/unit_test/xe2_hpg_core/bmg/product_helper_tests_bmg.cpp @@ -19,7 +19,6 @@ #include "aubstream/product_family.h" #include "platforms.h" -#include "wmtp_setup_bmg.inl" using namespace NEO; @@ -105,7 +104,7 @@ BMGTEST_F(BmgProductHelper, givenCompilerProductHelperWhenGetMidThreadPreemption hwInfo.featureTable.flags.ftrWalkerMTP = false; EXPECT_FALSE(compilerProductHelper->isMidThreadPreemptionSupported(hwInfo)); hwInfo.featureTable.flags.ftrWalkerMTP = true; - EXPECT_EQ(wmtpSupported, compilerProductHelper->isMidThreadPreemptionSupported(hwInfo)); + EXPECT_TRUE(compilerProductHelper->isMidThreadPreemptionSupported(hwInfo)); } BMGTEST_F(BmgProductHelper, givenProductHelperWhenCheckingIsBufferPoolAllocatorSupportedThenCorrectValueIsReturned) {