Hybrid Fortran: High Productivity GPU Porting Framework Applied to Japanese Weather Prediction Model
Abstract
In this work we use the GPU porting task for the operative Japanese weather prediction model "ASUCA" as an opportunity to examine productivity issues with OpenACC when applied to structured grid problems. We then propose "Hybrid Fortran", an approach that combines the advantages of directive based methods (no rewrite of existing code necessary) with that of stencil DSLs (memory layout is abstracted). This gives the ability to define multiple parallelizations with different granularities in the same code. Without compromising on performance, this approach enables a major reduction in the code changes required to achieve a hybrid GPU/CPU parallelization - as demonstrated with our ASUCA implementation using Hybrid Fortran.
- Publication:
-
arXiv e-prints
- Pub Date:
- October 2017
- DOI:
- arXiv:
- arXiv:1710.08616
- Bibcode:
- 2017arXiv171008616M
- Keywords:
-
- Computer Science - Distributed;
- Parallel;
- and Cluster Computing;
- Physics - Atmospheric and Oceanic Physics
- E-Print:
- Preprint as accepted for WACCPD 2017, final version to appear in Springer LNCS