SWDEV-326800 - hipStreamWaitEvent shouldnt accept flags other than 0
Change-Id: Ic9e2e8e7ac5d34d4286356534810c8e7aa0ee5ad
[ROCm/clr commit: 796b8c2b62]
Esse commit está contido em:
@@ -457,6 +457,10 @@ hipError_t hipStreamWaitEvent(hipStream_t stream, hipEvent_t event, unsigned int
|
|||||||
HIP_RETURN(hipErrorInvalidHandle);
|
HIP_RETURN(hipErrorInvalidHandle);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (flags != 0) {
|
||||||
|
HIP_RETURN(hipErrorInvalidValue);
|
||||||
|
}
|
||||||
|
|
||||||
if (!hip::isValid(stream)) {
|
if (!hip::isValid(stream)) {
|
||||||
HIP_RETURN(hipErrorContextIsDestroyed);
|
HIP_RETURN(hipErrorContextIsDestroyed);
|
||||||
}
|
}
|
||||||
|
|||||||
Referência em uma Nova Issue
Bloquear um usuário