hipStreamWaitEvent returns success if event created but not recorded
[ROCm/hip commit: 16708dd2e0]
이 커밋은 다음에 포함됨:
1 부모
f80896d58b
커밋
465b24123b
1 파일이 변경됨
+2
-1
@@ -98,7 +98,8 @@ hipError_t hipStreamWaitEvent(hipStream_t stream, hipEvent_t event, unsigned int
|
||||
if (event == nullptr) {
|
||||
e = hipErrorInvalidResourceHandle;
|
||||
|
||||
} else if (ecd._state != hipEventStatusUnitialized) {
|
||||
} else if ((ecd._state != hipEventStatusUnitialized) &&
|
||||
(ecd._state != hipEventStatusCreated)) {
|
||||
|
||||
if (HIP_SYNC_STREAM_WAIT || (HIP_SYNC_NULL_STREAM && (stream == 0))) {
|
||||
// conservative wait on host for the specified event to complete:
|
||||
|
||||
새 이슈에서 참조
사용자 차단