SWDEV-340506 - Unit_hipMalloc3DArray_Negative fix
Change-Id: I1fbf4be8aaef83b36749f1e253b5dba025e7f3cd
此提交包含在:
1 父節點
36a85741de
當前提交
eab4ea236c
1 file changed
+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
|
||||
|
||||
Reference in new issue
封鎖使用者