2022-06-14 07:13:43 +08:00
|
|
|
/*
|
2023-01-04 23:35:08 +08:00
|
|
|
* Copyright (C) 2022-2023 Intel Corporation
|
2022-06-14 07:13:43 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "shared/source/helpers/compiler_hw_info_config.h"
|
|
|
|
#include "shared/source/helpers/hw_info.h"
|
|
|
|
|
|
|
|
namespace NEO {
|
|
|
|
template <PRODUCT_FAMILY gfxProduct>
|
2022-12-06 23:59:36 +08:00
|
|
|
void CompilerProductHelperHw<gfxProduct>::setProductConfigForHwInfo(HardwareInfo &hwInfo, HardwareIpVersion config) const {
|
|
|
|
hwInfo.platform.usRevId = config.revision;
|
2023-01-04 23:35:08 +08:00
|
|
|
hwInfo.ipVersion = config;
|
2022-06-14 07:13:43 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
} // namespace NEO
|