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:
Grochowski, Stanislaw
2025-07-10 13:41:47 +00:00
committed by Compute-Runtime-Automation
parent d3564fab68
commit e652679b95
7 changed files with 108 additions and 6 deletions

View File

@@ -1770,6 +1770,7 @@ void DeviceImp::releaseResources() {
allocationsForReuse->freeAllGraphicsAllocations(neoDevice);
allocationsForReuse.reset();
}
neoDevice->pollForCompletion();
neoDevice->decRefInternal();
neoDevice = nullptr;