SWDEV-388278 - Fix return HIP_RETURN(x)
Change-Id: I940ee3660a2427eade8690a9318966fb04a1fbe8
Этот коммит содержится в:
1 родитель
ae631aaa32
Коммит
e6520ddf8a
3 files changed
+12
-9
No files matched your search
@@ -805,7 +805,7 @@ hipError_t hipStreamGetDevice(hipStream_t stream, hipDevice_t* device) {
|
||||
}
|
||||
|
||||
if (!hip::isValid(stream)) {
|
||||
return HIP_RETURN(hipErrorContextIsDestroyed);
|
||||
HIP_RETURN(hipErrorContextIsDestroyed);
|
||||
}
|
||||
|
||||
if (stream == nullptr) { // handle null stream
|
||||
|
||||
Reference in new issue
Block a user