Skip to content

Commit

Permalink
Merge branch 'master' into frontend-add-structure-support
Browse files Browse the repository at this point in the history
  • Loading branch information
alexnick83 authored Nov 14, 2023
2 parents 15fb33c + 43ca982 commit 456c913
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions dace/frontend/python/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,9 @@ def to_sdfg(self, *args, simplify=None, save=False, validate=False, use_cache=Fa
warnings.warn("You are calling to_sdfg() on a dace program that "
"has set 'recompile' to False. "
"This may not be what you want.")
if self.autoopt == True:
warnings.warn("You are calling to_sdfg() on a dace program that "
"has set `auto_optimize` to True. Automatic optimization will not be applied.")

if use_cache:
# Update global variables with current closure
Expand Down
1 change: 0 additions & 1 deletion dace/transformation/auto/auto_optimize.py
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,6 @@ def auto_optimize(sdfg: SDFG,

if symbols:
# Specialize for all known symbols
known_symbols = {s: v for (s, v) in symbols.items() if s in sdfg.free_symbols}
known_symbols = {}
for (s, v) in symbols.items():
if s in sdfg.free_symbols:
Expand Down

0 comments on commit 456c913

Please sign in to comment.