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:
Lukasz Jobczyk 2025-05-26 10:16:09 +00:00 committed by Compute-Runtime-Automation
parent 87e2114e42
commit 2e9643f46c
3 changed files with 5 additions and 5 deletions

View File

@ -21,7 +21,7 @@ std::optional<aub_stream::ProductFamily> ProductHelperHw<gfxProduct>::getAubStre
template <>
bool ProductHelperHw<gfxProduct>::isBufferPoolAllocatorSupported() const {
return false;
return true;
}
template <>

View File

@ -76,10 +76,6 @@ XE3_CORETEST_F(Xe3CoreProductHelper, givenProductHelperWhenisResolvingSubDeviceI
EXPECT_TRUE(productHelper->isResolvingSubDeviceIDNeeded(releaseHelper));
}
XE3_CORETEST_F(Xe3CoreProductHelper, givenProductHelperWhenCheckingIsBufferPoolAllocatorSupportedThenCorrectValueIsReturned) {
EXPECT_FALSE(productHelper->isBufferPoolAllocatorSupported());
}
XE3_CORETEST_F(Xe3CoreProductHelper, givenProductHelperWhenCheckIsCopyBufferRectSplitSupportedThenReturnsTrue) {
EXPECT_TRUE(productHelper->isCopyBufferRectSplitSupported());
}

View File

@ -65,6 +65,10 @@ PTLTEST_F(PtlProductHelper, givenProductHelperWhenCallIsStagingBuffersEnabledThe
EXPECT_TRUE(productHelper->isStagingBuffersEnabled());
}
PTLTEST_F(PtlProductHelper, givenProductHelperWhenCheckingIsBufferPoolAllocatorSupportedThenCorrectValueIsReturned) {
EXPECT_TRUE(productHelper->isBufferPoolAllocatorSupported());
}
PTLTEST_F(PtlProductHelper, givenDebugFlagWhenCheckingIsResolveDependenciesByPipeControlsSupportedThenTheFlagDerivedValueIsReturned) {
DebugManagerStateRestore restorer;