3 ms·
If you go down this rabbit hole of what to do to loops, you will end up at polyhedral models, which are very neat. They can basically rearrange loops (includin
by DannyBee 5y ago
If you go down this rabbit hole of what to do to loops, you will end up at polyhedral models, which are very neat.
They can basically rearrange loops (including splitting) to have optimal locality/communication/parallelism/etc.
https://polyhedral.info/ https://polyhedral.info/ has more.
- code_biologist 5y agoI hadn't heard of them before. They are neat. If papers aren't your style here's some videos I've found: What is polyhedral compilation? [about six minutes]: https://www.youtube.com/watch?v=iAF-orse4hE https://www.youtube.com/watch?v=iAF-orse4hE Polyhedral Compilation as a Design Pattern for Compilers - Albert Cohen - PLISS 2019 [about an hour and a half]: https://www.youtube.com/watch?v=mt6pIpt5Wk0 https://www.youtube.com/watch?v=mt6pIpt5Wk0