Tiramisu-Compiler / tiramisu

A polyhedral compiler for expressing fast and portable data parallel algorithms
http://tiramisu-compiler.org
MIT License
916 stars 132 forks source link

Loop expansion #403

Closed nassimTchoulak closed 1 year ago

nassimTchoulak commented 1 year ago

to integrate this in the autoscheduler, you must keep in mind that the dependencies are changing know. Thus it would be key to store dep_read_after_write dep_write_after_write ... ect in the syntaxe tree of the ast and apply the logic of stage and recover.

rbaghdadi commented 1 year ago

@skourta , this is the feature that you need. Can you take in charge the integration in your autoscheduler? You'll need to save the dependences if you need to backtrack since the dependences change after expansion.