SWDEV-340506 - Unit_hipMalloc3DArray_Negative fix

Change-Id: I1fbf4be8aaef83b36749f1e253b5dba025e7f3cd
This commit is contained in:
Ajay
2022-07-05 21:09:07 +00:00
committato da Ajay GunaShekar
parent 36a85741de
commit eab4ea236c
+2 -4
Vedi File
@@ -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