performance: disable tlb flush on LNL Windows

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
Lukasz Jobczyk
2025-08-07 08:55:24 +00:00
committed by Compute-Runtime-Automation
parent a6fe012b6a
commit 495b9eccd3
2 changed files with 9 additions and 0 deletions

View File

@@ -21,5 +21,10 @@ bool ProductHelperHw<gfxProduct>::restartDirectSubmissionForHostptrFree() const
return true;
}
template <>
bool ProductHelperHw<gfxProduct>::isTlbFlushRequired() const {
return false;
}
template class ProductHelperHw<gfxProduct>;
} // namespace NEO

View File

@@ -39,3 +39,7 @@ LNLTEST_F(LnlProductHelperWindows, givenOverrideDirectSubmissionTimeoutsCalledTh
LNLTEST_F(LnlProductHelperWindows, givenProductHelperWhenCallDeferMOCSToPatOnWSLThenTrueIsReturned) {
EXPECT_TRUE(productHelper->deferMOCSToPatIndex(true));
}
LNLTEST_F(LnlProductHelperWindows, givenProductHelperWhenAskedIfIsTlbFlushRequiredThenFalseIsReturned) {
EXPECT_FALSE(productHelper->isTlbFlushRequired());
}