Abstract
For scientific array-based programs, optimization for a particular target platform is a hard problem. There are many optimization techniques such as (semantics-preserving) source code transformations, compiler directives, environment variables, and compiler flags that influence performance. Moreover, the performance impact of (combinations of) these factors is unpredictable. This paper focuses on providing a platform for automatically searching through search space consisting of such optimization techniques. We provide (i) a search-space description language, which enables the user to describe optimization options to be used; (ii) search engine that enables testing the performance impact of optimization options by executing optimized programs and checking their results; and (iii) an interface for implementing various search algorithms. We evaluate our platform by using two simple search algorithms - a random search and a casetree search that heuristically learns from the already examined parts of the search space. We show that such algorithms are easily implementable in our platform, and we empirically find that the framework can be used to find useful optimized algorithms.
Original language | English |
---|---|
Title of host publication | ARRAY 2015 - Proceedings of the 2nd ACM SIGPLAN International Workshop on Libraries, Languages, and Compilers for Array Programming, co-located with PLDI 2015 |
Editors | Jan Vitek, Hidehiko Masuhara, Mary Sheeran, Laurie Hendren |
Publisher | Association for Computing Machinery, Inc |
Pages | 25-30 |
Number of pages | 6 |
ISBN (Electronic) | 9781450335843 |
DOIs | |
State | Published - Jun 13 2015 |
Externally published | Yes |
Event | 2nd ACM SIGPLAN International Workshop on Libraries, Languages, and Compilers for Array Programming, ARRAY 2015 - Portland, United States Duration: Jun 13 2015 → … |
Publication series
Name | ARRAY 2015 - Proceedings of the 2nd ACM SIGPLAN International Workshop on Libraries, Languages, and Compilers for Array Programming, co-located with PLDI 2015 |
---|
Conference
Conference | 2nd ACM SIGPLAN International Workshop on Libraries, Languages, and Compilers for Array Programming, ARRAY 2015 |
---|---|
Country/Territory | United States |
City | Portland |
Period | 06/13/15 → … |
Funding
This work was supported in part by a gift from the Intel Corporation, through NSF Cooperative Grant NSF01 which funds the National Center for Atmospheric Research (NCAR), and through an Intel Parallel Computing Center grant from the Intel Corporation.
Keywords
- Automated optimization
- Code generation
- Performance
- Scientific computing