performance: disable cpu caching for buffers on PTL

Related-To: NEO-9421

Signed-off-by: Tomasz Biernacik <tomasz.biernacik@intel.com>
This commit is contained in:
Tomasz Biernacik
2025-03-10 08:20:06 +00:00
committed by Compute-Runtime-Automation
parent a8d9e7ed35
commit c3f0c4e4ac
2 changed files with 9 additions and 0 deletions

View File

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

View File

@@ -89,3 +89,7 @@ PTLTEST_F(PtlProductHelper, givenExternalHostPtrWhenMitigateDcFlushThenOverrideC
}
}
}
PTLTEST_F(PtlProductHelper, givenProductHelperWhenCallIsCachingOnCpuAvailableThenFalseIsReturned) {
EXPECT_FALSE(productHelper->isCachingOnCpuAvailable());
}