SWDEV-327455 - Fix for event node crash

Change-Id: I4418800f04450f1bd23cef4e7812631727458a3b


[ROCm/clr commit: 33687d8cab]
Este cometimento está contido em:
Sarbojit Sarkar criou e Sarbojit Sarkar cometeu 2022-03-18 06:22:38 -04:00
1 ascendente 4e2e28b23c
cometimento 8108b3dd74
1 ficheiro modificado
+3 -1
+3 -1
Ver ficheiro
@@ -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) {