How to convert ISL AST to ISL Schedule?

29 views
Skip to first unread message

Ranganhar Guo

unread,
Mar 3, 2025, 12:40:55 AMMar 3
to isl Development

I am writing to ask for your guidance regarding a challenge I am facing with the ISL library. I understand that there is a function available to extract an AST from a schedule. However, I am unsure how to perform the reverse operation—specifically, converting an ISL AST back into an ISL schedule.

At present, the only approach I have considered is to traverse the AST to extract the necessary information and then manually construct the schedule. Before proceeding with this method, I wanted to inquire whether there is an existing function or a more direct method to accomplish this conversion.

Any insights, suggestions, or references to relevant documentation or examples you could provide would be greatly appreciated.

Thank you very much for your time and assistance.

Best regards,
Ranganhar

Sven Verdoolaege

unread,
Mar 3, 2025, 5:24:34 PMMar 3
to Ranganhar Guo, isl Development
Why would you want to do that?
Where did you get this AST?
If it was generated from a schedule then why not just use that schedule?

So my initial suggestion would be, don't do that.
In any case, I'm not aware of any function doing that.

skimo
Reply all
Reply to author
Forward
0 new messages