mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Revert "feature: enable WMTP on BMG"
This reverts commit d4256475fb
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
3d3c5ddf9f
commit
71aee41ca3
@ -0,0 +1,10 @@
|
||||
/*
|
||||
* Copyright (C) 2024-2025 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
namespace NEO {
|
||||
constexpr bool wmtpSupported = false;
|
||||
} // namespace NEO
|
@ -14,6 +14,7 @@
|
||||
#include "shared/source/helpers/compiler_product_helper_xe_hpc_and_later.inl"
|
||||
|
||||
#include "platforms.h"
|
||||
#include "wmtp_setup_bmg.inl"
|
||||
|
||||
namespace NEO {
|
||||
template <>
|
||||
@ -21,6 +22,11 @@ uint32_t CompilerProductHelperHw<IGFX_BMG>::getDefaultHwIpVersion() const {
|
||||
return AOT::BMG_G21_A0;
|
||||
}
|
||||
|
||||
template <>
|
||||
bool CompilerProductHelperHw<IGFX_BMG>::isMidThreadPreemptionSupported(const HardwareInfo &hwInfo) const {
|
||||
return hwInfo.featureTable.flags.ftrWalkerMTP && wmtpSupported;
|
||||
}
|
||||
|
||||
static EnableCompilerProductHelper<IGFX_BMG> enableCompilerProductHelperBMG;
|
||||
|
||||
} // namespace NEO
|
||||
|
@ -19,6 +19,7 @@
|
||||
|
||||
#include "aubstream/product_family.h"
|
||||
#include "platforms.h"
|
||||
#include "wmtp_setup_bmg.inl"
|
||||
|
||||
using namespace NEO;
|
||||
|
||||
@ -104,7 +105,7 @@ BMGTEST_F(BmgProductHelper, givenCompilerProductHelperWhenGetMidThreadPreemption
|
||||
hwInfo.featureTable.flags.ftrWalkerMTP = false;
|
||||
EXPECT_FALSE(compilerProductHelper->isMidThreadPreemptionSupported(hwInfo));
|
||||
hwInfo.featureTable.flags.ftrWalkerMTP = true;
|
||||
EXPECT_TRUE(compilerProductHelper->isMidThreadPreemptionSupported(hwInfo));
|
||||
EXPECT_EQ(wmtpSupported, compilerProductHelper->isMidThreadPreemptionSupported(hwInfo));
|
||||
}
|
||||
|
||||
BMGTEST_F(BmgProductHelper, givenProductHelperWhenCheckingIsBufferPoolAllocatorSupportedThenCorrectValueIsReturned) {
|
||||
|
Reference in New Issue
Block a user