SWDEV-470612 - Avoid copying a vector on the stack
Change-Id: Ia5fc7d1f77d2519dedeedb2c82c26efebb03d1d3
[ROCm/clr commit: c6b8d69158]
このコミットが含まれているのは:
@@ -342,7 +342,7 @@ struct GraphNode : public hipGraphNodeDOTAttribute {
|
||||
/// Get topological sort of the nodes embedded as part of the graphnode(e.g. ChildGraph)
|
||||
virtual bool TopologicalOrder(std::vector<Node>& TopoOrder) { return true; }
|
||||
/// Update waitlist of the nodes embedded as part of the graphnode(e.g. ChildGraph)
|
||||
virtual void UpdateEventWaitLists(amd::Command::EventWaitList waitList) {
|
||||
virtual void UpdateEventWaitLists(const amd::Command::EventWaitList& waitList) {
|
||||
for (auto command : commands_) {
|
||||
command->updateEventWaitList(waitList);
|
||||
}
|
||||
@@ -798,7 +798,7 @@ struct ChildGraphNode : public GraphNode {
|
||||
}
|
||||
|
||||
//
|
||||
void UpdateEventWaitLists(amd::Command::EventWaitList waitList) override {
|
||||
void UpdateEventWaitLists(const amd::Command::EventWaitList& waitList) override {
|
||||
if (startCommand_ != nullptr) {
|
||||
startCommand_->updateEventWaitList(waitList);
|
||||
}
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする