Hybrid Fortran:高生产率GPU移植框架在日本天气预报模式中的应用
Hybrid Fortran: High Productivity GPU Porting Framework Applied to Japanese Weather Prediction Model
摘要:
在这项工作中,我们使用的GPU移植任务的操作日本天气预测模型“ASUCA”作为一个机会,检查生产力问题与OpenACC时,适用于结构化网格的问题。然后,我们提出了“混合Fortran”,一种方法,结合了基于指令的方法(没有重写现有的代码必要)与模板DSL(内存布局抽象)的优点。这使得能够在同一代码中定义具有不同粒度的多个并行化。在不影响性能的情况下,这种方法可以大大减少实现混合GPU/CPU并行化所需的代码更改-正如我们使用Hybrid Fortran的ASUCA实现所证明的那样。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。