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
can you please make it a config option whether the frontend parses bools as bools or ints (to ensure compatibility with external functions?) Please also add such a test if possible - it will need a different style of calling it too.
Currently, the Fortran frontend treats logical arrays as int arrays (i.e., 32 bit), which works just fine if we call the SDFG it from Fortran. On the other hand, C++ or numpy have 8bit representation for boolean. So, we might want to have that representation.
The text was updated successfully, but these errors were encountered:
which frontend is this referring to? The title does not specify.
pratyai
changed the title
Make it a config option whether the frontend parses bools as bools or ints
Make it a config option whether the Fortran frontend parses bools as bools or ints
Nov 7, 2024
From #1736 (review)
Currently, the Fortran frontend treats
logical
arrays asint
arrays (i.e., 32 bit), which works just fine if we call the SDFG it from Fortran. On the other hand, C++ or numpy have 8bit representation for boolean. So, we might want to have that representation.The text was updated successfully, but these errors were encountered: