fix: account for hp engines when calculating max context count

Related-To: NEO-11983

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
Mateusz Hoppe
2024-07-26 09:24:38 +00:00
committed by Compute-Runtime-Automation
parent e24acc6155
commit 83ad60eb29
4 changed files with 15 additions and 1 deletions

View File

@@ -1632,6 +1632,8 @@ HWTEST_F(DeviceTests, givenCopyEnginesWhenCreatingSecondaryContextsThenUseCopyTy
EXPECT_EQ(0u, memoryManager->secondaryEngines[0].size());
EXPECT_EQ(0u, memoryManager->allRegisteredEngines[0].size());
EXPECT_GT(memoryManager->maxOsContextCount, memoryManager->latestContextId);
executionEnvironment->decRefInternal();
}