performance: Enable small buffer pool allocator on PTL
Resolves: NEO-14817 Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
parent
87e2114e42
commit
2e9643f46c
|
@ -21,7 +21,7 @@ std::optional<aub_stream::ProductFamily> ProductHelperHw<gfxProduct>::getAubStre
|
||||||
|
|
||||||
template <>
|
template <>
|
||||||
bool ProductHelperHw<gfxProduct>::isBufferPoolAllocatorSupported() const {
|
bool ProductHelperHw<gfxProduct>::isBufferPoolAllocatorSupported() const {
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
template <>
|
template <>
|
||||||
|
|
|
@ -76,10 +76,6 @@ XE3_CORETEST_F(Xe3CoreProductHelper, givenProductHelperWhenisResolvingSubDeviceI
|
||||||
EXPECT_TRUE(productHelper->isResolvingSubDeviceIDNeeded(releaseHelper));
|
EXPECT_TRUE(productHelper->isResolvingSubDeviceIDNeeded(releaseHelper));
|
||||||
}
|
}
|
||||||
|
|
||||||
XE3_CORETEST_F(Xe3CoreProductHelper, givenProductHelperWhenCheckingIsBufferPoolAllocatorSupportedThenCorrectValueIsReturned) {
|
|
||||||
EXPECT_FALSE(productHelper->isBufferPoolAllocatorSupported());
|
|
||||||
}
|
|
||||||
|
|
||||||
XE3_CORETEST_F(Xe3CoreProductHelper, givenProductHelperWhenCheckIsCopyBufferRectSplitSupportedThenReturnsTrue) {
|
XE3_CORETEST_F(Xe3CoreProductHelper, givenProductHelperWhenCheckIsCopyBufferRectSplitSupportedThenReturnsTrue) {
|
||||||
EXPECT_TRUE(productHelper->isCopyBufferRectSplitSupported());
|
EXPECT_TRUE(productHelper->isCopyBufferRectSplitSupported());
|
||||||
}
|
}
|
||||||
|
|
|
@ -65,6 +65,10 @@ PTLTEST_F(PtlProductHelper, givenProductHelperWhenCallIsStagingBuffersEnabledThe
|
||||||
EXPECT_TRUE(productHelper->isStagingBuffersEnabled());
|
EXPECT_TRUE(productHelper->isStagingBuffersEnabled());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
PTLTEST_F(PtlProductHelper, givenProductHelperWhenCheckingIsBufferPoolAllocatorSupportedThenCorrectValueIsReturned) {
|
||||||
|
EXPECT_TRUE(productHelper->isBufferPoolAllocatorSupported());
|
||||||
|
}
|
||||||
|
|
||||||
PTLTEST_F(PtlProductHelper, givenDebugFlagWhenCheckingIsResolveDependenciesByPipeControlsSupportedThenTheFlagDerivedValueIsReturned) {
|
PTLTEST_F(PtlProductHelper, givenDebugFlagWhenCheckingIsResolveDependenciesByPipeControlsSupportedThenTheFlagDerivedValueIsReturned) {
|
||||||
DebugManagerStateRestore restorer;
|
DebugManagerStateRestore restorer;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue