mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 01:04:57 +08:00
fix: release secondaryContexts prior to primary context
Related-To: NEO-10920 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
7901c2ea5c
commit
d6675b14b3
@@ -69,6 +69,8 @@ Device::~Device() {
|
||||
subdevices.clear();
|
||||
|
||||
syncBufferHandler.reset();
|
||||
|
||||
executionEnvironment->memoryManager->releaseSecondaryOsContexts(this->getRootDeviceIndex());
|
||||
commandStreamReceivers.clear();
|
||||
executionEnvironment->memoryManager->waitForDeletions();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user