PSyclone icon indicating copy to clipboard operation
PSyclone copied to clipboard

Parameters for transformation scripts

Open hiker opened this issue 3 months ago • 0 comments

During optimisation (including profiling runs), I ended up using three or four different versions of a transformation script (original and with tiling and profile and non_profile). This makes it sometimes hard to keep the scripts in synch.

It would be nice if options could be specified for the transformation scripts. This would allow me to have just one version of the script, and based on the command line add profiling or not (and maybe even add tiling or not).

For now I can use environment variables, but it might be a useful feature to be able to see these options in e.g. build log files.

An alternative approach might be to make transformation scripts call each other (e.g. the profiling script first calls the base script, then applies profiling to the output). But that still makes it hard to then have one profiling-function that will be added to the original and tiled version of the scripts ... unless we have user input.

hiker avatar Oct 27 '24 10:10 hiker