Visible to the public Opening Polyhedral Compiler's Black Box

TitleOpening Polyhedral Compiler's Black Box
Publication TypeConference Paper
Year of Publication2016
AuthorsBagnères, Lénaïc, Zinenko, Oleksandr, Huot, Stéphane, Bastoul, Cédric
Conference NameProceedings of the 2016 International Symposium on Code Generation and Optimization
PublisherACM
Conference LocationNew York, NY, USA
ISBN Number978-1-4503-3778-6
Keywordsblack box, black box encryption, Compiler Optimization, composability, cryptography, Encryption, Interactive Compilation, Loop Transformations, Metrics, pubcrawl, Resiliency
Abstract

While compilers offer a fair trade-off between productivity and executable performance in single-threaded execution, their optimizations remain fragile when addressing compute-intensive code for parallel architectures with deep memory hierarchies. Moreover, these optimizations operate as black boxes, impenetrable for the user, leaving them with no alternative to time-consuming and error-prone manual optimization in cases where an imprecise cost model or a weak analysis resulted in a bad optimization decision. To address this issue, we propose a technique allowing to automatically translate an arbitrary polyhedral optimization, used internally by loop-level optimization frameworks of several modern compilers, into a sequence of comprehensible syntactic transformations as long as this optimization focuses on scheduling loop iterations. This approach opens the black box of the polyhedral frameworks enabling users to examine, refine, replay and even design complex optimizations semi-automatically in partnership with the compiler.

URLhttp://doi.acm.org/10.1145/2854038.2854048
DOI10.1145/2854038.2854048
Citation Keybagneres_opening_2016