The Community for Technology Leaders
2014 23rd International Conference on Parallel Architecture and Compilation (PACT) (2014)
Edmonton, Canada
Aug. 23, 2014 to Aug. 27, 2014
ISBN: 978-1-5090-6607-0
pp: 39-50
Uday Bondhugula , Department of Computer Science and Automation, Indian Institute of Science, Bangalore 560012 India
Vinayaka Bandishti , Department of Computer Science and Automation, Indian Institute of Science, Bangalore 560012 India
Albert Cohen , INRIA and École Normale, Supérieure, 45 rue d'Ulm, Paris 75005, France
Guillain Potron , École Normale Supérieure and Indian Institute of Science, 45 rue d'Ulm, Paris 75005, France
Nicolas Vasilache , Reservoir Labs, 632 Broadway, New York, NY 10012, USA
ABSTRACT
This paper deals with optimizing time-iterated computations on periodic data domains. These computations are prevalent in computational sciences, particularly in partial differential equation solvers. We propose a fully automatic technique suitable for implementation in a compiler or in a domain-specific code generator for such computations. Dependence patterns on periodic data domains prevent existing algorithms from finding tiling opportunities. Our approach augments a state-of-the-art parallelization and locality-enhancing algorithm from the polyhedral framework to allow time-tiling of stencil computations on periodic domains. Experimental results on the swim SPEC CPU2000fp benchmark show a speedup of 5× and 4.2× over the highest SPEC performance achieved by native compilers on Intel Xeon and AMD Opteron multicore SMP systems, respectively. On other representative stencil computations, our scheme provides performance similar to that achieved with no periodicity, and a very high speedup is obtained over the native compiler. We also report a mean speedup of about 1.5 χ over a domain-specific stencil compiler supporting limited cases of periodic boundary conditions. To the best of our knowledge, it has been infeasible to manually reproduce such optimizations on swim or any other periodic stencil, especially on a data grid of two-dimensions or higher.
INDEX TERMS
Computational modeling, Mathematical model, Benchmark testing, Boundary conditions, Parallel processing, Memory management, Bandwidth,Polyhedral model, Tiling, Stencils, Periodic, Automatic parallelization
CITATION
Uday Bondhugula, Vinayaka Bandishti, Albert Cohen, Guillain Potron, Nicolas Vasilache, "Tiling and optimizing time-iterated computations over periodic domains", 2014 23rd International Conference on Parallel Architecture and Compilation (PACT), vol. 00, no. , pp. 39-50, 2014, doi:10.1145/2628071.2628106
91 ms
(Ver 3.3 (11022016))