There are (I suppose) 4 possible combinations for function signatures. There are input (or input and output) params and then there are return values converted into parameters by cgen. You can have: 1) inputs and returns 2) inputs but no returns 3) returns but no inputs 4) no inputs or outputs (I suppose this is possible if it affects some global state)
There are (I suppose) 4 possible combinations for function signatures.
There are input (or input and output) params and then there are return values converted into parameters by cgen.
You can have:
1) inputs and returns
2) inputs but no returns
3) returns but no inputs
4) no inputs or outputs (I suppose this is possible if it affects some global state)

There was a bug in the case of inputs but no returns to where an extra comma was put in the argument list.  I fixed this by checking for returns before appending the comma.

malekbr/julia-to-tiramisu,JuliaPackageMirrors/ParallelAccelerator.jl,IntelLabs/ParallelAccelerator.jl