diff --git a/shared/source/helpers/compiler_aot_config_bdw_and_later.inl b/shared/source/helpers/compiler_aot_config_bdw_and_later.inl index a9e8d3f81b..0912ab881a 100644 --- a/shared/source/helpers/compiler_aot_config_bdw_and_later.inl +++ b/shared/source/helpers/compiler_aot_config_bdw_and_later.inl @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 Intel Corporation + * Copyright (C) 2022-2023 Intel Corporation * * SPDX-License-Identifier: MIT * @@ -12,6 +12,7 @@ namespace NEO { template void CompilerProductHelperHw::setProductConfigForHwInfo(HardwareInfo &hwInfo, HardwareIpVersion config) const { hwInfo.platform.usRevId = config.revision; + hwInfo.ipVersion = config; } } // namespace NEO diff --git a/shared/test/unit_test/helpers/compiler_hw_info_config_tests.cpp b/shared/test/unit_test/helpers/compiler_hw_info_config_tests.cpp index c6bbbdb7a7..03adc1b982 100644 --- a/shared/test/unit_test/helpers/compiler_hw_info_config_tests.cpp +++ b/shared/test/unit_test/helpers/compiler_hw_info_config_tests.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2021-2022 Intel Corporation + * Copyright (C) 2021-2023 Intel Corporation * * SPDX-License-Identifier: MIT * @@ -63,6 +63,7 @@ HWTEST2_F(CompilerProductHelperFixture, givenAotConfigWhenSetHwInfoRevisionIdThe aotConfig.value = productConfig; CompilerProductHelper::get(hwInfo.platform.eProductFamily)->setProductConfigForHwInfo(hwInfo, aotConfig); EXPECT_EQ(hwInfo.platform.usRevId, aotConfig.revision); + EXPECT_EQ(hwInfo.ipVersion.value, aotConfig.value); } HWTEST2_F(CompilerProductHelperFixture, givenAtMostXeHPWhenGetCachingPolicyOptionsThenReturnNullptr, IsAtMostXeHpCore) {