首页 | 本学科首页   官方微博 | 高级检索  
     


Semi-Automatic Composition of Loop Transformations for Deep Parallelism and Memory Hierarchies
Authors:Sylvain Girbal  Nicolas Vasilache  Cédric Bastoul  Albert Cohen  David Parello  Marc Sigler  Olivier Temam
Affiliation:(1) ALCHEMY Group, INRIA Futurs and LRI, Paris-Sud 11 University, Orsay Cedex, France;(2) DALI Group, LP2A, University of Perpignan, Perpignan, France
Abstract:
Modern compilers are responsible for translating the idealistic operational semantics of the source program into a form that makes efficient use of a highly complex heterogeneous machine. Since optimization problems are associated with huge and unstructured search spaces, this combinational task is poorly achieved in general, resulting in weak scalability and disappointing sustained performance. We address this challenge by working on the program representation itself, using a semi-automatic optimization approach to demonstrate that current compilers offen suffer from unnecessary constraints and intricacies that can be avoided in a semantically richer transformation framework. Technically, the purpose of this paper is threefold: (1) to show that syntactic code representations close to the operational semantics lead to rigid phase ordering and cumbersome expression of architecture-aware loop transformations, (2) to illustrate how complex transformation sequences may be needed to achieve significant performance benefits, (3) to facilitate the automatic search for program transformation sequences, improving on classical polyhedral representations to better support operation research strategies in a simpler, structured search space. The proposed framework relies on a unified polyhedral representation of loops and statements, using normalization rules to allow flexible and expressive transformation sequencing. Thisrepresentation allows to extend the scalability of polyhedral dependence analysis, and to delay the (automatic) legality checks until the end of a transformation sequence. Our work leverages on algorithmic advances in polyhedral code generation and has been implemented in a modern research compiler.
Keywords:Compiler optimization  semi-automatic program transformation  polyhedral model  automatic parallelization
本文献已被 SpringerLink 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号