Revert "feature: enable wmtp on BMG"
This reverts commit f95a6339a5
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
parent
3515f5164c
commit
5b35887bd1
|
@ -0,0 +1,10 @@
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2024 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 "shared/source/helpers/compiler_product_helper_xe_hpc_and_later.inl"
|
||||||
|
|
||||||
#include "platforms.h"
|
#include "platforms.h"
|
||||||
|
#include "wmtp_setup_bmg.inl"
|
||||||
|
|
||||||
namespace NEO {
|
namespace NEO {
|
||||||
template <>
|
template <>
|
||||||
|
@ -21,6 +22,11 @@ uint32_t CompilerProductHelperHw<IGFX_BMG>::getDefaultHwIpVersion() const {
|
||||||
return AOT::BMG_G21_A0;
|
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;
|
static EnableCompilerProductHelper<IGFX_BMG> enableCompilerProductHelperBMG;
|
||||||
|
|
||||||
} // namespace NEO
|
} // namespace NEO
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
|
|
||||||
#include "aubstream/product_family.h"
|
#include "aubstream/product_family.h"
|
||||||
#include "platforms.h"
|
#include "platforms.h"
|
||||||
|
#include "wmtp_setup_bmg.inl"
|
||||||
|
|
||||||
using namespace NEO;
|
using namespace NEO;
|
||||||
|
|
||||||
|
@ -93,7 +94,7 @@ BMGTEST_F(BmgProductHelper, givenCompilerProductHelperWhenGetMidThreadPreemption
|
||||||
hwInfo.featureTable.flags.ftrWalkerMTP = false;
|
hwInfo.featureTable.flags.ftrWalkerMTP = false;
|
||||||
EXPECT_FALSE(compilerProductHelper->isMidThreadPreemptionSupported(hwInfo));
|
EXPECT_FALSE(compilerProductHelper->isMidThreadPreemptionSupported(hwInfo));
|
||||||
hwInfo.featureTable.flags.ftrWalkerMTP = true;
|
hwInfo.featureTable.flags.ftrWalkerMTP = true;
|
||||||
EXPECT_TRUE(compilerProductHelper->isMidThreadPreemptionSupported(hwInfo));
|
EXPECT_EQ(wmtpSupported, compilerProductHelper->isMidThreadPreemptionSupported(hwInfo));
|
||||||
}
|
}
|
||||||
|
|
||||||
BMGTEST_F(BmgProductHelper, givenProductHelperWhenCheckingIsBufferPoolAllocatorSupportedThenCorrectValueIsReturned) {
|
BMGTEST_F(BmgProductHelper, givenProductHelperWhenCheckingIsBufferPoolAllocatorSupportedThenCorrectValueIsReturned) {
|
||||||
|
|
Loading…
Reference in New Issue