2841

Automatically Generating Efficient Simulation Codes on GPUs from Partial Differential Equations

K.A. Hawick and D.P. Playne
Computer Science, Massey University Albany, North Shore 102-904, Auckland, New Zealand
Technical Report CSTN-087, Massey University, 2010

@article{hawick2010automatically,

   title={Automatically Generating Efficient Simulation Codes on GPUs from Partial Differential Equations},

   author={Hawick, KA and Playne, DP},

   journal={Computer Science, Massey University, Tech. Rep. CSTN-087},

   year={2010}

}

Download Download (PDF)   View View   Source Source   

1261

views

We show how compiler technology can generate fast and efficient yet human-readable data-parallel simulation code for solving certain partial differential equation (PDE) based problems. We present a code parser and generator based on an ANTLR grammar and tree walking approach that transforms a mathematical formulation of an equation such as the Cahn-Hilliard family into simulation software in C++ or in NVIDIA’s Compute Unified Device Architecture (CUDA) language for programming Graphical Processing Units (GPUS). We present software architectural ideas, generated specimen code and detailed performance data on modern GPUs. We discuss how code generation techniques can be used to speed up code development and computational run time for related complex system simulation problems.
No votes yet.
Please wait...

* * *

* * *

HGPU group © 2010-2024 hgpu.org

All rights belong to the respective authors

Contact us: