Affiliation:
1. CAS
2. University of Colarodo at Colorado Springs
3. University of New South Wales
Abstract
Most scientific computations serve to apply mathematical operations to a set of preconceived data structures, e.g., matrices, vectors, and grids. In this article, we use a number of widely used matrix computations from the LINPACK library to demonstrate that complex internal organizations of data structures can severely degrade the effectiveness of compiler optimizations. We then present a data-layout-oblivious optimization methodology, where by isolating an abstract representation of the computations from complex implementation details of their data, we enable these computations to be much more accurately analyzed and optimized through varying state-of-the-art compiler technologies. We evaluated our approach on an Intel 8-core platform using two source-to-source compiler infrastructures, Pluto and EPOD. Our results show that while the efficiency of a computational kernel differs when using different data layouts, the alternative implementations typically benefit from a common set of optimizations on the operations. Therefore separately optimizing the operations and the data layout of a computation could dramatically enhance the effectiveness of compiler optimizations compared with the conventional approaches of using a unified representation.
Funder
Australian Research Council
U.S. Department of Energy
Ministry of Science and Technology of the People's Republic of China
National Natural Science Foundation of China
National Science Foundation
Publisher
Association for Computing Machinery (ACM)
Subject
Hardware and Architecture,Information Systems,Software
Reference32 articles.
1. Allen R. and Kennedy K. 2001. Optimizing Compilers for Modern Architectures. Morgan Kaufmann. Allen R. and Kennedy K. 2001. Optimizing Compilers for Modern Architectures. Morgan Kaufmann.
2. A recursive formulation of Cholesky factorization of a matrix in packed storage
3. Optimizing matrix multiply using PHiPAC
4. A practical automatic polyhedral parallelizer and locality optimizer
Cited by
6 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献