Revert "feature: enable WMTP on LNL"
This reverts commit 7adf9ad32a
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
parent
fbda930073
commit
f2b9d1ecf3
|
@ -15,6 +15,7 @@
|
|||
#include "shared/source/helpers/compiler_product_helper_xe_hpc_and_later.inl"
|
||||
|
||||
#include "platforms.h"
|
||||
#include "wmtp_setup_lnl.inl"
|
||||
|
||||
namespace NEO {
|
||||
template <>
|
||||
|
@ -22,6 +23,11 @@ uint32_t CompilerProductHelperHw<IGFX_LUNARLAKE>::getDefaultHwIpVersion() const
|
|||
return AOT::LNL_B0;
|
||||
}
|
||||
|
||||
template <>
|
||||
bool CompilerProductHelperHw<IGFX_LUNARLAKE>::isMidThreadPreemptionSupported(const HardwareInfo &hwInfo) const {
|
||||
return hwInfo.featureTable.flags.ftrWalkerMTP && wmtpSupported;
|
||||
}
|
||||
|
||||
static EnableCompilerProductHelper<IGFX_LUNARLAKE> enableCompilerProductHelperLNL;
|
||||
|
||||
} // namespace NEO
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
/*
|
||||
* Copyright (C) 2024 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
namespace NEO {
|
||||
constexpr bool wmtpSupported = false;
|
||||
} // namespace NEO
|
|
@ -20,6 +20,7 @@
|
|||
|
||||
#include "aubstream/product_family.h"
|
||||
#include "platforms.h"
|
||||
#include "wmtp_setup_lnl.inl"
|
||||
|
||||
using namespace NEO;
|
||||
|
||||
|
@ -92,7 +93,7 @@ LNLTEST_F(LnlProductHelper, 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));
|
||||
}
|
||||
|
||||
LNLTEST_F(LnlProductHelper, whenCheckPreferredAllocationMethodThenAllocateByKmdIsReturnedExceptTagBufferAndTimestampPacketTagBuffer) {
|
||||
|
|
Loading…
Reference in New Issue