Skip to content

Commit

Permalink
skip preprocess in gt_inline_nested_sdfg as temporary workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
edopao committed Feb 3, 2025
1 parent a35ad07 commit e2327e8
Showing 1 changed file with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,15 +149,19 @@ def gt_inline_nested_sdfg(
validate_all: Performs extensive validation.
"""
first_iteration = True
do_preproccess: Final[bool] = False
nb_preproccess_total = 0
nb_inlines_total = 0
while True:
nb_preproccess = sdfg.apply_transformations_repeated(
[dace_dataflow.PruneSymbols, dace_dataflow.PruneConnectors],
validate=False,
validate_all=validate_all,
)
nb_preproccess_total += nb_preproccess
if do_preproccess:
nb_preproccess = sdfg.apply_transformations_repeated(
[dace_dataflow.PruneSymbols, dace_dataflow.PruneConnectors],
validate=False,
validate_all=validate_all,
)
nb_preproccess_total += nb_preproccess
else:
nb_preproccess = 0
if (nb_preproccess == 0) and (not first_iteration):
break

Expand Down

0 comments on commit e2327e8

Please sign in to comment.