SWDEV-314667 - Fix for crash
Change-Id: I1cfeadde975649fb1791cf354f7ba3f70db9d162
This commit is contained in:
committed by
Sarbojit Sarkar
parent
a48429e922
commit
a1562ec8f8
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user