mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 15:53:45 +08:00
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:
committed by
Compute-Runtime-Automation
parent
dd55225041
commit
6de68d3bfd
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user