mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 05:56:36 +08:00
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:
committed by
Compute-Runtime-Automation
parent
ace883ca55
commit
e24acc6155
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user