Automatically Optimizing Caiman Schedules #10
Checkmate50
started this conversation in
General
Replies: 1 comment
-
The week-by-week schedule sounds good to me! Is the goal limited to re-scheduling "explicit" data transfers, or does it also involve things like: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Caiman divides programs into a value language and a schedule language. Given a fixed program in the value language, you can write many different schedule programs, and the semantics are the same: i.e., the program produces the same output regardless of the schedule program. But the schedule determines performance: it gives the programmer control over the execution details that dictate whether the "same" computation goes fast or slow. This is where @mjguynn comes in!
The goal in this project is to automatically transform schedules that are already written in order to improve their performance. That is, we will start with a complete (valid) program in both the value language and the schedule language. Then, our proposed tool will try to transform that valid schedule into a new schedule that performs better. (It will not touch the value program.) This will require inventing some patterns for performance-improving transformations and implementing them in transformations on the Caiman RON-based IR.
As with #9, however, this is just a sketch of the plan! We need feedback and ideas about tweaks to both the high-level direction and the week-by-week execution plan. Please weigh in below!
Beta Was this translation helpful? Give feedback.
All reactions