Skip to content

Commit

Permalink
Second fix for symbol specialization in auto_optimizer().
Browse files Browse the repository at this point in the history
After looking again at the code I realized that I should have deleted the other definition of `known_symbols`.
  • Loading branch information
philip-paul-mueller committed Oct 27, 2023
1 parent 420d5b9 commit 4b15dab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dace/transformation/auto/auto_optimize.py
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ 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:
if isinstance(v, (int, float)):
Expand Down

0 comments on commit 4b15dab

Please sign in to comment.