mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-19 06:24:51 +08:00
fix: move ulls controller stop thread
Move ulls controller thread stopping to execution environment destructor. This removes the vptr race from ulls controller destructor. Put tests that are actually running the ulls controller into multi thread tests. That way they are compiled with thread sanitizer and removes the variable test time from traditional ULTS. Related-To: NEO-10942 Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
839a150288
commit
b109094e4b
@@ -43,6 +43,9 @@ void ExecutionEnvironment::releaseRootDeviceEnvironmentResources(RootDeviceEnvir
|
||||
}
|
||||
|
||||
ExecutionEnvironment::~ExecutionEnvironment() {
|
||||
if (directSubmissionController) {
|
||||
directSubmissionController->stopThread();
|
||||
}
|
||||
if (memoryManager) {
|
||||
memoryManager->commonCleanup();
|
||||
for (const auto &rootDeviceEnvironment : this->rootDeviceEnvironments) {
|
||||
|
||||
Reference in New Issue
Block a user