feature: add getMaxLocalSubRegionSize() to product helper

Related-To: NEO-13954

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
Mateusz Hoppe
2025-02-06 13:02:04 +00:00
committed by Compute-Runtime-Automation
parent d0871e0e37
commit 05977f6158
8 changed files with 29 additions and 3 deletions

View File

@@ -1122,3 +1122,8 @@ HWTEST_F(ProductHelperTest, whenAdjustScratchSizeThenSizeIsNotChanged) {
HWTEST_F(ProductHelperTest, givenProductHelperWhenCheckingIs2MBLocalMemAlignmentEnabledThenCorrectValueIsReturned) {
EXPECT_FALSE(productHelper->is2MBLocalMemAlignmentEnabled());
}
HWTEST2_F(ProductHelperTest, WhenCheckAssignEngineRoundRobinSupportedThenReturnFalse, IsAtMostXe3Core) {
auto hwInfo = *defaultHwInfo;
EXPECT_EQ(0u, productHelper->getMaxLocalSubRegionSize(hwInfo));
}