fix: ensure memory info is queried before querying engine info

initialization of engine info relies on memory info data

Related-To: NEO-12073
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2024-07-25 15:30:26 +00:00
committed by Compute-Runtime-Automation
parent ace883ca55
commit e24acc6155
9 changed files with 20 additions and 2 deletions

View File

@@ -25,6 +25,7 @@ void DebugApiLinuxXeFixture::setUp(NEO::HardwareInfo *hwInfo) {
mockDrm = DrmMockXeDebug::create(*neoDevice->executionEnvironment->rootDeviceEnvironments[0]).release();
mockDrm->allowDebugAttach = true;
mockDrm->memoryInfoQueried = true;
mockDrm->queryEngineInfo();
auto &rootDeviceEnvironment = *neoDevice->executionEnvironment->rootDeviceEnvironments[0];
@@ -41,4 +42,4 @@ void DebugApiLinuxXeFixture::setUp(NEO::HardwareInfo *hwInfo) {
}
} // namespace ult
} // namespace L0
} // namespace L0