refactor: adjust code for newer aot header

Related-To: NEO-11466
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2024-05-28 15:03:33 +00:00
committed by Compute-Runtime-Automation
parent dd55225041
commit 6de68d3bfd
16 changed files with 227 additions and 146 deletions

View File

@@ -2141,7 +2141,7 @@ TEST_P(OclocFatbinaryPerProductTests, givenReleaseWhenGetTargetProductsForFarbin
auto hasDeviceAcronym = std::any_of(aotInfos.begin(), aotInfos.end(), ProductConfigHelper::findDeviceAcronymForRelease(releaseValue));
for (const auto &aotInfo : aotInfos) {
if (aotInfo.hwInfo->platform.eProductFamily == productFamily) {
if (aotInfo.hwInfo->platform.eProductFamily == productFamily && aotInfo.release == releaseValue) {
if (hasDeviceAcronym) {
if (!aotInfo.deviceAcronyms.empty()) {
expected.push_back(aotInfo.deviceAcronyms.front());
@@ -2158,4 +2158,4 @@ TEST_P(OclocFatbinaryPerProductTests, givenReleaseWhenGetTargetProductsForFarbin
EXPECT_EQ(got, expected);
}
} // namespace NEO
} // namespace NEO