performance: disable cpu caching for buffers on PTL

Related-To: NEO-14168

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
Szymon Morek 2025-02-21 11:19:44 +00:00 committed by Compute-Runtime-Automation
parent 0b34ed6793
commit 681ef3693a
2 changed files with 9 additions and 0 deletions

View File

@ -29,4 +29,9 @@ bool ProductHelperHw<gfxProduct>::isDirectSubmissionSupported(ReleaseHelper *rel
return true;
}
template <>
bool ProductHelperHw<gfxProduct>::isCachingOnCpuAvailable() const {
return false;
}
} // namespace NEO

View File

@ -43,3 +43,7 @@ PTLTEST_F(PtlProductHelper, givenCompilerProductHelperWhenGetMidThreadPreemption
PTLTEST_F(PtlProductHelper, givenProductHelperWhenCheckDirectSubmissionSupportedThenTrueIsReturned) {
EXPECT_TRUE(productHelper->isDirectSubmissionSupported(releaseHelper));
}
PTLTEST_F(PtlProductHelper, givenProductHelperWhenCallIsCachingOnCpuAvailableThenFalseIsReturned) {
EXPECT_FALSE(productHelper->isCachingOnCpuAvailable());
}