Skip to content

Commit

Permalink
WCRToAugAssign: Added memlet propagation
Browse files Browse the repository at this point in the history
  • Loading branch information
lukastruemper committed Nov 3, 2023
1 parent 8140313 commit ee6a13d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dace/transformation/dataflow/wcr_conversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from dace import SDFG, SDFGState
from dace.sdfg.state import StateSubgraphView
from dace.transformation import helpers
from dace import propagate_memlet
from dace.sdfg.propagation import propagate_memlets_state


class AugAssignToWCR(transformation.SingleStateTransformation):
Expand Down Expand Up @@ -256,6 +256,7 @@ def apply(self, state: SDFGState, sdfg: SDFG):

# Remove input node and connector
state.remove_memlet_path(inedge)
propagate_memlets_state(sdfg, state)

# If outedge leads to non-transient, and this is a nested SDFG,
# propagate outwards
Expand Down

0 comments on commit ee6a13d

Please sign in to comment.