mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-06 19:32:25 +08:00
feature: enable WMTP on LNL
Related-To: NEO-12648 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
891c5c84de
commit
7adf9ad32a
@@ -15,7 +15,6 @@
|
|||||||
#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_lnl.inl"
|
|
||||||
|
|
||||||
namespace NEO {
|
namespace NEO {
|
||||||
template <>
|
template <>
|
||||||
@@ -23,11 +22,6 @@ uint32_t CompilerProductHelperHw<IGFX_LUNARLAKE>::getDefaultHwIpVersion() const
|
|||||||
return AOT::LNL_B0;
|
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;
|
static EnableCompilerProductHelper<IGFX_LUNARLAKE> enableCompilerProductHelperLNL;
|
||||||
|
|
||||||
} // namespace NEO
|
} // namespace NEO
|
||||||
|
|||||||
@@ -1,10 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright (C) 2024 Intel Corporation
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: MIT
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
namespace NEO {
|
|
||||||
constexpr bool wmtpSupported = false;
|
|
||||||
} // namespace NEO
|
|
||||||
@@ -20,7 +20,6 @@
|
|||||||
|
|
||||||
#include "aubstream/product_family.h"
|
#include "aubstream/product_family.h"
|
||||||
#include "platforms.h"
|
#include "platforms.h"
|
||||||
#include "wmtp_setup_lnl.inl"
|
|
||||||
|
|
||||||
using namespace NEO;
|
using namespace NEO;
|
||||||
|
|
||||||
@@ -93,7 +92,7 @@ LNLTEST_F(LnlProductHelper, 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_EQ(wmtpSupported, compilerProductHelper->isMidThreadPreemptionSupported(hwInfo));
|
EXPECT_TRUE(compilerProductHelper->isMidThreadPreemptionSupported(hwInfo));
|
||||||
}
|
}
|
||||||
|
|
||||||
LNLTEST_F(LnlProductHelper, whenCheckPreferredAllocationMethodThenAllocateByKmdIsReturnedExceptTagBufferAndTimestampPacketTagBuffer) {
|
LNLTEST_F(LnlProductHelper, whenCheckPreferredAllocationMethodThenAllocateByKmdIsReturnedExceptTagBufferAndTimestampPacketTagBuffer) {
|
||||||
|
|||||||
Reference in New Issue
Block a user