Add unrecoverable in case of failure.

Change-Id: I886e698727cf239d92acbce592c65186b9bf9169
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
This commit is contained in:
Mrozek, Michal 2019-04-24 15:51:26 +02:00 committed by sys_ocldev
parent 3d1d8ba256
commit ef19a5312f
1 changed files with 2 additions and 0 deletions

View File

@ -411,6 +411,8 @@ MemoryManager::AllocationStatus WddmMemoryManager::populateOsHandles(OsHandleSto
return AllocationStatus::InvalidHostPointer;
}
UNRECOVERABLE_IF(result != STATUS_SUCCESS);
for (uint32_t i = 0; i < allocatedFragmentsCounter; i++) {
hostPtrManager->storeFragment(handleStorage.fragmentStorageData[allocatedFragmentIndexes[i]]);
}