Array Program Transformation with Loo.py by Example: High-Order Finite Elements
Loading...
Authors
Klöckner, Andreas
Wilcox, Lucas C.
Warburton, T.
Advisors
Second Readers
Subjects
code generation
high-level language
GPU
substitution rule
embedded language
high-performance
program transformation
OpenCL
high-level language
GPU
substitution rule
embedded language
high-performance
program transformation
OpenCL
Date of Issue
2016
Date
2016
Publisher
Association for Computing Machinery (ACM)
Language
Abstract
To concisely and effectively demonstrate the capabilities of our program transformation system Loo.py, we examine a transformation path from two real-world Fortran subroutines as found in a weather model to a single high-performance computational kernel suitable for execution on modern GPU hardware. Along the transformation path, we encounter kernel fusion, vectorization, prefetching, parallelization, and algorithmic changes achieved by mechanized conversion between imperative and functional/substitution-based code, among a number more. We conclude with performance results that demonstrate the effects and support the effectiveness of the applied transformations.
Type
Article
Description
The article of record as published may be found at http://dx.doi.org/10.1145/
Series/Report No
Department
Organization
Identifiers
NPS Report Number
Sponsors
US Navy ONR grant number N00014-14-1-0117
National Science Foundation under grant numbers DMS-1418961 and CCF-1524433
Nvidia Corporation
US Navy ONR grant numbers N00014-15-WX-01603 and N00014-13-1-0873
National Science Foundation under grant numbers DMS-1418961 and CCF-1524433
Nvidia Corporation
US Navy ONR grant numbers N00014-15-WX-01603 and N00014-13-1-0873
Funding
US Navy ONR grant number N00014-14-1-0117
National Science Foundation under grant numbers DMS-1418961 and CCF-1524433
US Navy ONR grant numbers N00014-15-WX-01603 and N00014-13-1-0873
National Science Foundation under grant numbers DMS-1418961 and CCF-1524433
US Navy ONR grant numbers N00014-15-WX-01603 and N00014-13-1-0873
Format
8 p.
Citation
ARRAY'16 (June 14, 2016). Santa Barbara, CA, USA.
Distribution Statement
Rights
This publication is a work of the U.S. Government as defined in Title 17, United States Code, Section 101. Copyright protection is not available for this work in the United States.
