Sequential Optimizations : loop fusion, tiling, and unrolling #1759
said-hadjout
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
OpenMP 5.1 has some loop optimization features such as loop tiling and loop unrolling, previously the user either coded the loop transformation by himself or used some compiler hints like
We should have a unified way for the user to ask for certain optimizations and provide them either through OpenMP if available, compiler hints, or doing the loop transformation in the code generation directly.
It would be nice if we could provide an example where we use all the optimization techniques, and show the timing improvement with each technique, in the same spirit of this example in MOJO https://www.youtube.com/watch?v=6GvB5lZJqcE&t=0s
Beta Was this translation helpful? Give feedback.
All reactions