hipmemcpy2D handle height 0
Change-Id: I46bf89e81559c3bfccac0dd0ccd78eee9058c7e3
이 커밋은 다음에 포함됨:
1 부모
ee1d7a339a
커밋
d21cabd890
1 파일이 변경됨
+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;
|
||||
}
|
||||
|
||||
|
||||
새 이슈에서 참조
사용자 차단