refactor: Allow for grouping BCS1+ copy engines in more engine group types

Do not group copy engines from BCS1+ in linked copy group by default.

Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
This commit is contained in:
Kacper Nowak
2024-01-20 01:39:14 +00:00
committed by Compute-Runtime-Automation
parent f9f9035b95
commit 6cf71cce81
6 changed files with 31 additions and 4 deletions

View File

@@ -859,3 +859,12 @@ HWTEST_F(ProductHelperTest, givenProductHelperWhenGettingSupportedNumGrfsThenCor
HWTEST_F(ProductHelperTest, givenProductHelperWhenGettingDefaultCopyEngineThenEngineBCSIsReturned) {
EXPECT_EQ(aub_stream::EngineType::ENGINE_BCS, productHelper->getDefaultCopyEngine());
}
HWTEST_F(ProductHelperTest, givenProductHelperWhenAdjustingEnginesGroupThenDoNotChangeEngineGroups) {
for (uint32_t engineGroupIt = static_cast<uint32_t>(EngineGroupType::compute); engineGroupIt < static_cast<uint32_t>(EngineGroupType::maxEngineGroups); engineGroupIt++) {
auto engineGroupType = static_cast<EngineGroupType>(engineGroupIt);
auto engineGroupTypeUnchanged = engineGroupType;
productHelper->adjustEngineGroupType(engineGroupType);
EXPECT_EQ(engineGroupTypeUnchanged, engineGroupType);
}
}