Back to Search
Start Over
Managing code transformations for better performance portability
- Source :
- The International Journal of High Performance Computing Applications. 33:1290-1306
- Publication Year :
- 2019
- Publisher :
- SAGE Publications, 2019.
-
Abstract
- Code optimization is an intricate task that is getting more complex as computing systems evolve. Managing the program optimization process, including the implementation and evaluation of code variants, is tedious, inefficient, and errors are likely to be introduced in the process. Moreover, because each platform typically requires a different sequence of transformations to fully harness its computing power, the optimization process complexity grows as new platforms are adopted. To address these issues, systems and frameworks have been proposed to automate the code optimization process. They, however, have not been widely adopted and are primarily used by experts with deep knowledge about underlying architecture and compiler intricacies. This article describes the requirements that we believe necessary for making automatic performance tuning more broadly used, especially in complex, long-lived high-performance computing applications. Besides discussing limitations of current systems and strategies to overcome these, we describe the design of a system that is able to semi-automatically generate efficient platform-specific code. In the proposed system, the code optimization is programmer-guided, separately from application code, on an external file in what we call optimization programming. The language to program the optimization process is able to represent complex collections of transformations and, as a result, generate efficient platform-specific code. A database manages different optimized versions of code regions, providing a pragmatic approach to performance portability, and the framework itself has separate components, allowing the optimized code to be used on systems without installing all of the modules required for the code generation. We present experiments on two different platforms to illustrate the generation of efficient platform-specific code that performs comparable to hand-optimized, vendor-provided code.
- Subjects :
- 010302 applied physics
Domain-specific language
Computer science
business.industry
Process (computing)
02 engineering and technology
Program optimization
Supercomputer
computer.software_genre
01 natural sciences
Theoretical Computer Science
Software portability
Hardware and Architecture
020204 information systems
0103 physical sciences
0202 electrical engineering, electronic engineering, information engineering
Code (cryptography)
Code generation
Compiler
Software engineering
business
computer
Software
Subjects
Details
- ISSN :
- 17412846 and 10943420
- Volume :
- 33
- Database :
- OpenAIRE
- Journal :
- The International Journal of High Performance Computing Applications
- Accession number :
- edsair.doi...........a26845291e47194f945c6736667f4eb8
- Full Text :
- https://doi.org/10.1177/1094342019865606