performance: disable coherency 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-04-28 20:31:02 +00:00 committed by Compute-Runtime-Automation
parent 01160c05d0
commit f03decfc25
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());
}