• DocumentCode
    3641118
  • Title

    Predictive modeling in a polyhedral optimization space

  • Author

    Eunjung Park;Louis-Noël Pouche;John Cavazos;Albert Cohen;P. Sadayappan

  • Author_Institution
    University of Delaware
  • fYear
    2011
  • fDate
    4/1/2011 12:00:00 AM
  • Firstpage
    119
  • Lastpage
    129
  • Abstract
    Significant advances in compiler optimization have been made in recent years, enabling many transformations such as tiling, fusion, parallelization and vectorization on imperfectly nested loops. Nevertheless, the problem of finding the best combination of loop transformations remains a major challenge. Polyhedral models for compiler optimization have demonstrated strong potential for enhancing program performance, in particular for compute-intensive applications. But existing static cost models to optimize polyhedral transformations have significant limitations, and iterative compilation has become a very promising alternative to these models to find the most effective transformations. But since the number of polyhedral optimization alternatives can be enormous, it is often impractical to iterate over a significant fraction of the entire space of polyhedrally transformed variants. Recent research has focused on iterating over this search space either with manually-constructed heuristics or with automatic but very expensive search algorithms (e.g., genetic algorithms) that can eventually find good points in the polyhedral space. In this paper, we propose the use of machine learning to address the problem of selecting the best polyhedral optimizations. We show that these models can quickly find high-performance program variants in the polyhedral space, without resorting to extensive empirical search. We introduce models that take as input a characterization of a program based on its dynamic behavior, and predict the performance of aggressive high-level polyhedral transformations that includes tiling, parallelization and vectorization. We allow for a minimal empirical search on the target machine, discovering on average 83% of the search-space-optimal combinations in at most 5 runs. Our end-to-end framework is validated using numerous benchmarks on two multi-core platforms.
  • Keywords
    "Optimization","Tiles","Predictive models","Radiation detectors","Schedules","Computational modeling","Hardware"
  • Publisher
    ieee
  • Conference_Titel
    Code Generation and Optimization (CGO), 2011 9th Annual IEEE/ACM International Symposium on
  • Print_ISBN
    978-1-61284-356-8
  • Type

    conf

  • DOI
    10.1109/CGO.2011.5764680
  • Filename
    5764680