fix: calculation of os context count

Related-To: NEO-12952

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
Mateusz Hoppe
2025-03-28 07:48:06 +00:00
committed by Compute-Runtime-Automation
parent cb3b4d326d
commit c105c77930
2 changed files with 3 additions and 1 deletions

View File

@@ -1747,6 +1747,8 @@ HWTEST_F(DeviceTests, givenDeviceWithCCSEngineAndAggregatedProcessesWhenDeviceIs
}
}
}
auto memoryManager = static_cast<MockMemoryManager *>(executionEnvironment->memoryManager.get());
EXPECT_GT(memoryManager->maxOsContextCount, memoryManager->latestContextId);
executionEnvironment->memoryManager->reInitLatestContextId();
}
executionEnvironment->decRefInternal();