Skip to content

Commit

Permalink
fix previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
edopao committed Feb 20, 2025
1 parent d5c7033 commit 692d052
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,10 +237,10 @@ def connect(
# check the kind of node which writes the result
if isinstance(write_edge.src, dace.nodes.Tasklet):
# The temporary data written by a tasklet can be safely deleted
assert write_size.is_constant
assert write_size.is_constant()
remove_last_node = True
elif isinstance(write_edge.src, dace.nodes.NestedSDFG):
if write_size.is_constant:
if write_size.is_constant():
# Temporary data with compile-time size is allocated on the stack
# and therefore is safe to keep. We decide to keep it as a workaround
# for a dace issue with memlet propagation in combination with
Expand Down

0 comments on commit 692d052

Please sign in to comment.