mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 07:14:10 +08:00
fix: stop direct submission blocking on platform destruction
Resolves: GSD-6341 Signed-off-by: Venevtsev, Igor <igor.venevtsev@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
85eafc9e61
commit
50b2262339
@@ -45,7 +45,7 @@ Platform::~Platform() {
|
||||
|
||||
for (auto clDevice : this->clDevices) {
|
||||
clDevice->getDevice().getRootDeviceEnvironmentRef().debugger.reset(nullptr);
|
||||
clDevice->getDevice().stopDirectSubmission();
|
||||
clDevice->getDevice().stopDirectSubmissionAndWaitForCompletion();
|
||||
clDevice->decRefInternal();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user