You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have seen this before with other types (dace.bool) too. It is a recent regression added by a "good first issue" PR we merged. There are two issues here:
the type should not be numpy.float64, but dace.float64 (and perhaps in a separate PR, adding numpy types to the type annotation hints is useful!)
We should instead use another way to turn the typeclass into a Python tasklet compatible string.
We should add two tests: numpy types and dace.bool/dace.bool_.
tbennun
changed the title
simplify() fails for SDFG that validates and compile
Dead Dataflow Elimination type hints do not work with all types
Oct 29, 2024
I can confirm that this is resolved in #1725. You can retry your SDFG or code with that. It was type inference returning a numpy type instead of the expected return type of dtypes.typeclass. Thanks!
Graph: https://polybox.ethz.ch/index.php/s/5E0CXQPC7oYMVnc
Error in
dace/transformation/passes/dead_dataflow_elimination.py
:The text was updated successfully, but these errors were encountered: