feature: add method to adjust hw info for igc

Related-To: NEO-8203

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2023-07-27 09:38:15 +00:00
committed by Compute-Runtime-Automation
parent 9818ef61a5
commit 91b26277a4
10 changed files with 47 additions and 14 deletions

View File

@@ -110,7 +110,10 @@ class PatchtokensProgramWithDebugData : public MockProgram {
PatchtokensProgramWithDebugData(ClDevice &device) : MockProgram(toClDeviceVector(device)) {
auto rootDeviceIdx = device.getRootDeviceIndex();
const auto &hwInfo = device.getHardwareInfo();
auto hwInfo = device.getHardwareInfo();
auto &compilerProductHelper = device.getCompilerProductHelper();
compilerProductHelper.adjustHwInfoForIgc(hwInfo);
this->buildInfos.resize(rootDeviceIdx + 1);
auto &buildInfo = this->buildInfos[rootDeviceIdx];