SWDEV-340453 - Fixes coding error. Missing condition in a negative scenario
Change-Id: Ic4b71e143ec883ca73a2511a367ac034444ec7de
[ROCm/clr commit: 2f9e92757c]
Tá an tiomantas seo le fáil i:
tiomanta ag
Sourabh Betigeri
tuismitheoir
92f5d16599
tiomantas
f3d7a42714
@@ -1351,7 +1351,7 @@ hipError_t hipStreamUpdateCaptureDependencies(hipStream_t stream, hipGraphNode_t
|
||||
}
|
||||
if (numDependencies > 0 && dependencies == nullptr ||
|
||||
(numDependencies > s->GetLastCapturedNodes().size()) ||
|
||||
(flags != 0 && (flags != hipStreamAddCaptureDependencies ||
|
||||
(flags != 0 && !(flags != hipStreamAddCaptureDependencies ||
|
||||
flags != hipStreamSetCaptureDependencies))) {
|
||||
HIP_RETURN(hipErrorInvalidValue);
|
||||
}
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir