performance: enable staging buffers on PTL

Related-To: NEO-14820

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
Szymon Morek 2025-05-09 08:48:01 +00:00 committed by Compute-Runtime-Automation
parent 5cd5bbafc5
commit ef9eb2f703
2 changed files with 9 additions and 0 deletions

View File

@ -39,4 +39,9 @@ bool ProductHelperHw<gfxProduct>::isCachingOnCpuAvailable() const {
return false;
}
template <>
bool ProductHelperHw<gfxProduct>::isStagingBuffersEnabled() const {
return true;
}
} // namespace NEO

View File

@ -61,6 +61,10 @@ PTLTEST_F(PtlProductHelper, givenProductHelperWhenCallIsCachingOnCpuAvailableThe
EXPECT_FALSE(productHelper->isCachingOnCpuAvailable());
}
PTLTEST_F(PtlProductHelper, givenProductHelperWhenCallIsStagingBuffersEnabledThenReturnTrue) {
EXPECT_TRUE(productHelper->isStagingBuffersEnabled());
}
PTLTEST_F(PtlProductHelper, givenDebugFlagWhenCheckingIsResolveDependenciesByPipeControlsSupportedThenTheFlagDerivedValueIsReturned) {
DebugManagerStateRestore restorer;