fix: return proper hw info config for dg2 platforms

Related-To: NEO-7622
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2023-03-02 12:55:01 +00:00
committed by Compute-Runtime-Automation
parent 98006ce72a
commit c628ffe18a
3 changed files with 46 additions and 1 deletions

View File

@@ -5,9 +5,14 @@
*
*/
#include "shared/source/xe_hpg_core/hw_cmds_dg2.h"
namespace NEO {
template <>
uint64_t CompilerProductHelperHw<IGFX_DG2>::getHwInfoConfig(const HardwareInfo &hwInfo) const {
return 0x0;
if (DG2::isG10(hwInfo)) {
return 0x800040010;
}
return 0x200040010;
}
} // namespace NEO