mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 05:56:36 +08:00
fix: Unification of aot config with hw ip version
In the case of mtl+ platforms, the returned config value should equal the hardware ip version value. This change fixes situations where some config has not been added and in this case we returned an unknown value. Signed-off-by: Daria Hinz <daria.hinz@intel.com> Related-To: NEO-7738
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
6fa8682c96
commit
c3f4074f0a
@@ -58,7 +58,7 @@ uint32_t ProductHelperHw<gfxProduct>::getSteppingFromHwRevId(const HardwareInfo
|
||||
}
|
||||
|
||||
template <>
|
||||
AOT::PRODUCT_CONFIG ProductHelperHw<gfxProduct>::getProductConfigFromHwInfo(const HardwareInfo &hwInfo) const {
|
||||
uint32_t ProductHelperHw<gfxProduct>::getProductConfigFromHwInfo(const HardwareInfo &hwInfo) const {
|
||||
uint32_t stepping = getSteppingFromHwRevId(hwInfo);
|
||||
if (stepping == CommonConstants::invalidStepping) {
|
||||
return AOT::UNKNOWN_ISA;
|
||||
|
||||
Reference in New Issue
Block a user