SWDEV-327455 - Fix for event node crash

Change-Id: I4418800f04450f1bd23cef4e7812631727458a3b
这个提交包含在:
Sarbojit Sarkar 编写, Sarbojit Sarkar 于 2022-03-18 06:22:38 -04:00 提交
1 父节点 796b8c2b62
当前提交 33687d8cab
1 个文件已更改
+3 -1
+3 -1
查看文件
@@ -131,7 +131,9 @@ int64_t Event::time() const {
hipError_t Event::streamWaitCommand(amd::Command*& command, amd::HostQueue* queue) {
amd::Command::EventWaitList eventWaitList;
eventWaitList.push_back(event_);
if (event_ != nullptr) {
eventWaitList.push_back(event_);
}
command = new amd::Marker(*queue, kMarkerDisableFlush, eventWaitList);
if (command == NULL) {