Skip to content

Commit

Permalink
Symbol specialization in auto_optimizer() never took effect. (#1410)
Browse files Browse the repository at this point in the history
The `dict` that was storing all the symbols, `known_symbols`, was
emptied just after its creation. The efect was that the specialization
never took effect.

---------

Co-authored-by: Philipp Schaad <schaad.phil@gmail.com>
  • Loading branch information
philip-paul-mueller and phschaad committed Nov 14, 2023
1 parent 97a2e1c commit e5b64bf
Showing 1 changed file with 0 additions and 1 deletion.
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 e5b64bf

Please sign in to comment.