File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -181,12 +181,12 @@ void partition::updateSchedule() {
181181void exec_graph_impl::makePartitions () {
182182 int CurrentPartition = -1 ;
183183 std::list<node_impl *> HostTaskList;
184- /* find all the host-tasks in the graph
184+ // find all the host-tasks in the graph
185185 for (node_impl &Node : nodes ()) {
186186 if (Node.MCGType == sycl::detail::CGType::CodeplayHostTask) {
187187 HostTaskList.push_back (&Node);
188188 }
189- }*/
189+ }
190190
191191 MContainsHostTask = HostTaskList.size () > 0 ;
192192 // Annotate nodes
@@ -1261,6 +1261,7 @@ void exec_graph_impl::duplicateNodes() {
12611261
12621262 const size_t NodeCount = ModifiableNodes.size ();
12631263 NodesMap.reserve (NodeCount);
1264+ NewNodes.reserve (NodeCount);
12641265
12651266 bool foundSubgraph = false ;
12661267
You can’t perform that action at this time.
0 commit comments