SWDEV-340506 - Unit_hipMalloc3DArray_Negative fix

Change-Id: I1fbf4be8aaef83b36749f1e253b5dba025e7f3cd
此提交包含在:
Ajay authored and Ajay GunaShekar committed 2022-07-07 12:17:45 -04:00
1 父節點 36a85741de
當前提交 eab4ea236c
1 file changed
+2 -4
+2 -4
查看文件
@@ -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