build: add cmake flag to select platforms for aub generation

Related-To: NEO-11097
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2024-04-17 14:48:57 +00:00
committed by Compute-Runtime-Automation
parent cd563c2761
commit 8676b97412
6 changed files with 34 additions and 4 deletions

View File

@@ -27,7 +27,7 @@ void adjustHwInfoForTests(HardwareInfo &hwInfoForTests, uint32_t euPerSubSlice,
uint32_t threadsPerEu = releaseHelper ? releaseHelper->getNumThreadsPerEu() : 7u;
// set Gt and FeatureTable to initial state
bool setupFeatureTableAndWorkaroundTable = testMode == TestMode::aubTests ? true : false;
bool setupFeatureTableAndWorkaroundTable = isAubTestMode(testMode);
hardwareInfoSetup[hwInfoForTests.platform.eProductFamily](&hwInfoForTests, setupFeatureTableAndWorkaroundTable, hwInfoConfig, releaseHelper.get());
GT_SYSTEM_INFO &gtSystemInfo = hwInfoForTests.gtSystemInfo;