Help Privacy Policy Disclaimer
  Advanced SearchBrowse




Journal Article

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


Hinder,  Ian
Astrophysical Relativity, AEI-Golm, MPI for Gravitational Physics, Max Planck Society;

External Resource
No external resources are shared
Fulltext (restricted access)
There are currently no full texts shared for your IP range.
Fulltext (public)

(Preprint), 843KB

(Any fulltext), 485KB

Supplementary Material (public)
There is no public supplementary material available

Blazewicz, M., Hinder, I., Koppelman, D. M., Brandt, S. R., Ciznicki, M., Kierzynka, M., et al. (2013). From Physics Model to Results: An Optimizing Framework for Cross-Architecture Code Generation. Scientific Programming, 21, 1-16. doi:10.3233/SPR-130360.

Cite as: https://hdl.handle.net/11858/00-001M-0000-0014-3CC4-3
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.