10143

From Physics Model to Results: An Optimizing Framework for Cross-Architecture Code Generation

Marek Blazewicz, Ian Hinder, David M. Koppelman, Steven R. Brandt, Milosz Ciznicki, Michal Kierzynka, Frank Loffler, Erik Schnetter, Jian Tao
Applications Department, Poznan Supercomputing & Networking Center, Poznan, Poland
arXiv:1307.6488 [physics.comp-ph], (24 Jul 2013)

@article{2013arXiv1307.6488B,

   author={Blazewicz}, M. and {Hinder}, I. and {Koppelman}, D.~M. and {Brandt}, S.~R. and {Ciznicki}, M. and {Kierzynka}, M. and {L{"o}ffler}, F. and {Schnetter}, E. and {Tao}, J.},

   title={"{From Physics Model to Results: An Optimizing Framework for Cross-Architecture Code Generation}"},

   journal={ArXiv e-prints},

   archivePrefix={"arXiv"},

   eprint={1307.6488},

   primaryClass={"physics.comp-ph"},

   keywords={Physics – Computational Physics, Computer Science – Mathematical Software, General Relativity and Quantum Cosmology},

   year={2013},

   month={jul},

   adsurl={http://adsabs.harvard.edu/abs/2013arXiv1307.6488B},

   adsnote={Provided by the SAO/NASA Astrophysics Data System}

}

Download Download (PDF)   View View   Source Source   

1425

views

Starting from a high-level problem description in terms of partial differential equations using abstract tensor notation, the Chemora framework discretizes, optimizes, and generates complete high performance codes for a wide range of compute architectures. Chemora extends the capabilities of Cactus, facilitating the usage of large-scale CPU/GPU systems in an efficient manner for complex applications, without low-level code tuning. Chemora achieves parallelism through MPI and multi-threading, combining OpenMP and CUDA. Optimizations include high-level code transformations, efficient loop traversal strategies, dynamically selected data and instruction cache usage strategies, and JIT compilation of GPU code tailored to the problem characteristics. The discretization is based on higher-order finite differences on multi-block domains. Chemora’s capabilities are demonstrated by simulations of black hole collisions. This problem provides an acid test of the framework, as the Einstein equations contain hundreds of variables and thousands of terms.
No votes yet.
Please wait...

* * *

* * *

HGPU group © 2010-2024 hgpu.org

All rights belong to the respective authors

Contact us: