Do not free SVM alloc under SVM manager lock

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
Lukasz Jobczyk
2022-12-02 07:25:45 +00:00
committed by Compute-Runtime-Automation
parent dbc6ac2743
commit 7c572b4090
5 changed files with 12 additions and 46 deletions

View File

@@ -57,6 +57,7 @@ Context::~Context() {
}
}
if (svmAllocsManager) {
svmAllocsManager->trimUSMDeviceAllocCache();
delete svmAllocsManager;
}
if (driverDiagnostics) {