SWDEV-388278 - Fix return HIP_RETURN(x)

Change-Id: I940ee3660a2427eade8690a9318966fb04a1fbe8


[ROCm/clr commit: e6520ddf8a]
此提交包含在:
Ioannis Assiouras committed 2023-03-13 13:32:55 +00:00
1 父節點 7528052a8f
當前提交 bf7e31c1ff
3 file changed
+12 -9

No files matched your search

+1 -1
查看文件
@@ -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