SWDEV-340506 - Unit_hipMalloc3DArray_Negative fix

Change-Id: I1fbf4be8aaef83b36749f1e253b5dba025e7f3cd
Tento commit je obsažen v:
Ajay authored and Ajay GunaShekar committed 2022-07-07 12:17:45 -04:00
1 rodič 36a85741de
revize eab4ea236c
1 file changed
+2 -4
+2 -4
Zobrazit soubor
@@ -114,10 +114,8 @@ cl_mem_object_type getCLMemObjectType(const unsigned int hipWidth,
return CL_MEM_OBJECT_IMAGE2D_ARRAY;
}
}
ShouldNotReachHere();
return {};
// error scenario. ShouldNotReachHere()
return CL_MEM_OBJECT_ALLOCATION_FAILURE;
}
inline