mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
fix: correct pollForCompletion in aub on program termination
Related-To: NEO-14867 Signed-off-by: Grochowski, Stanislaw <stanislaw.grochowski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
d3564fab68
commit
e652679b95
@@ -1770,6 +1770,7 @@ void DeviceImp::releaseResources() {
|
||||
allocationsForReuse->freeAllGraphicsAllocations(neoDevice);
|
||||
allocationsForReuse.reset();
|
||||
}
|
||||
neoDevice->pollForCompletion();
|
||||
|
||||
neoDevice->decRefInternal();
|
||||
neoDevice = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user