mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
fix: calculation of os context count
Related-To: NEO-12952 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
cb3b4d326d
commit
c105c77930
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user