Skip to content

Commit

Permalink
Consider push_commands generated for reductions for intra-task depend…
Browse files Browse the repository at this point in the history
…ency analysis
  • Loading branch information
fknorr committed Sep 22, 2022
1 parent e11b166 commit 13a7988
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/graph_generator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,8 @@ namespace detail {
add_dependencies_for_box(m_cdag, reduce_cmd, m_node_data.at(source_nid).buffer_last_writer.at(bid), box);
} else {
auto push_cmd = m_cdag.create<push_command>(source_nid, bid, reduction.rid, nid, sr);
generated_pushes.push_back(push_cmd);

m_command_buffer_reads[push_cmd->get_cid()][bid] = GridRegion<3>::merge(m_command_buffer_reads[push_cmd->get_cid()][bid], box);
add_dependencies_for_box(m_cdag, push_cmd, m_node_data.at(source_nid).buffer_last_writer.at(bid), box);

Expand Down

0 comments on commit 13a7988

Please sign in to comment.