SWDEV-314667 - Fix for crash

Change-Id: I1cfeadde975649fb1791cf354f7ba3f70db9d162


[ROCm/clr commit: a1562ec8f8]
Cette révision appartient à :
Sarbojit Sarkar
2022-02-18 11:14:31 +00:00
révisé par Sarbojit Sarkar
Parent 855eb801eb
révision 011c51888f
+1 -1
Voir le fichier
@@ -859,7 +859,7 @@ class hipGraphEventRecordNode : public hipGraphNode {
}
hip::Event* e = reinterpret_cast<hip::Event*>(event_);
commands_.reserve(1);
amd::Command* command;
amd::Command* command = nullptr;
status = e->recordCommand(command, queue);
commands_.emplace_back(command);
return status;