performance: enable staging buffers on PTL
Related-To: NEO-14820 Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
parent
5cd5bbafc5
commit
ef9eb2f703
|
@ -39,4 +39,9 @@ bool ProductHelperHw<gfxProduct>::isCachingOnCpuAvailable() const {
|
|||
return false;
|
||||
}
|
||||
|
||||
template <>
|
||||
bool ProductHelperHw<gfxProduct>::isStagingBuffersEnabled() const {
|
||||
return true;
|
||||
}
|
||||
|
||||
} // namespace NEO
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue