mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
fix: add unrecoverable in case of nullptr
Related-To: NEO-9038 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
747d44f8fc
commit
6b3ad5b3e3
@@ -299,6 +299,7 @@ inline std::tuple<SvmAllocationData *, GraphicsAllocation *, PtrType> getExistin
|
||||
GraphicsAllocation *allocation = nullptr;
|
||||
if (svmData) {
|
||||
allocation = svmData->gpuAllocations.getGraphicsAllocation(rootDeviceIndex);
|
||||
UNRECOVERABLE_IF(!allocation);
|
||||
} else {
|
||||
context->tryGetExistingMapAllocation(ptr, size, allocation);
|
||||
if (allocation) {
|
||||
|
||||
Reference in New Issue
Block a user