Published January 2012 | Version v1
Journal article

Paraiso: an automated tuning framework for explicit solvers of partial differential equations

  • 1. Hakubi Center for Advanced Research/Yukawa Institute for Theoretical Physics, Kyoto University, Kitashirakawa Oiwake-cho, Sakyo-ku, Kyoto 606-8502 (Japan)

Description

We propose Paraiso, a domain-specific language embedded in the functional programming language Haskell, for the automated tuning of explicit solvers of partial differential equations (PDEs) on graphic processing units (GPUs), and also multicore central processing units (CPUs). In Paraiso, one can describe PDE-solving algorithms succinctly using tensor equations notation. Hydrodynamic properties, interpolation methods and other building blocks are described in abstract, modular, re-usable and combinable forms, which lets us generate versatile solvers from a small set of Paraiso source codes. We demonstrate Paraiso by implementing a compressive hydrodynamics solver. A single source code of less than 500 lines can be used to generate solvers of arbitrary dimensions, for both multicore CPUs and GPUs. We demonstrate both manual annotation-based tuning and evolutionary computing-based automated tuning of the program.

Availability note (English)

Available from http://dx.doi.org/10.1088/1749-4699/5/1/015003

Additional details

Identifiers

Publishing Information

Journal Title
Computational Science and Discovery
Journal Volume
5
Journal Issue
1
Journal Page Range
[40 p.]
ISSN
1749-4699