spcl / dace

DaCe - Data Centric Parallel Programming
http://dace.is/fast
BSD 3-Clause "New" or "Revised" License
487 stars 121 forks source link

Scalar return values are now invalid #1609

Closed philip-paul-mueller closed 2 months ago

philip-paul-mueller commented 2 months ago

Due to how the code generator works a scalar return value is not possible and it does not generate an error. Returning a scalar is a desired feature as there is code in CompiledSDFG for that, but it does not work. The frontend works around this by simply promoting everything to an one dimensional array.

This commit introduces: