Set event state AFTER it is recorded.

此提交包含在:
Ben Sander
2017-11-05 10:32:24 -06:00
父節點 d90d431490
當前提交 4c3b65a5cd
共有 2 個檔案被更改,包括 3 行新增4 行删除
+1 -1
查看文件
@@ -103,7 +103,7 @@ hipError_t hipStreamWaitEvent(hipStream_t stream, hipEvent_t event, unsigned int
event->locked_waitComplete((event->_flags & hipEventBlockingSync) ? hc::hcWaitModeBlocked : hc::hcWaitModeActive);
} else {
stream = ihipSyncAndResolveStream(stream);
// This will user create_blocking_marker to wait on the specified queue.
// This will use create_blocking_marker to wait on the specified queue.
stream->locked_streamWaitEvent(event);
}