Title
From physics model to results: An optimizing framework for cross-architecture code generation
Document Type
Article
Publication Date
1-1-2013
Abstract
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. © 2013 - IOS Press and the authors. All rights reserved.
Publication Source (Journal or Book title)
Scientific Programming
First Page
1
Last Page
16
Recommended Citation
Blazewicz, M., Hinder, I., Koppelman, D., Brandt, S., Ciznicki, M., Kierzynka, M., Löffler, F., Schnetter, E., & Tao, J. (2013). From physics model to results: An optimizing framework for cross-architecture code generation. Scientific Programming, 21 (1-2), 1-16. https://doi.org/10.3233/SPR-130360