Change-Id: I46bf89e81559c3bfccac0dd0ccd78eee9058c7e3


[ROCm/clr commit: 7dcf2769ae]
Этот коммит содержится в:
agodavar committed 2020-12-31 01:41:56 -05:00
1 родитель 9de26a2274
Коммит ceb68b8d4f
1 file changed
+1 -1
+1 -1
Просмотреть файл
@@ -1557,7 +1557,7 @@ hipError_t ihipMemcpy2D(void* dst, size_t dpitch, const void* src, size_t spitch
if (spitch == 0 || dpitch == 0) {
return hipErrorUnknown;
}
if (width == 0) {
if (width == 0 || height == 0) {
return hipSuccess;
}