Fortran performance optimisation and auto-parallelisation by leveraging MLIR-based domain specific abstractions in Flang
Fortran performance optimisation and auto-parallelisation by leveraging MLIR-based domain specific abstractions in Flang
复制标题
通过利用 Flang 中基于 MLIR 的领域特定抽象来优化 Fortran 性能和自动并行化
DOI:
10.1145/3624062.3624167
复制
发表时间:
2023
期刊:
影响因子:
--
通讯作者:
Brown N
中科院分区:
文献类型:
--
作者:
Brown N
MLIR has become popular since it was open sourced in 2019. A sub-project of LLVM, the flexibility provided by MLIR to represent Intermediate Representations (IR) as dialects at different abstraction levels, to mix these, and to leverage transformations between dialects provides opportunities for automated program optimisation and parallelisation. In addition to general purpose compilers built upon MLIR, domain specific abstractions have also been developed.In this paper we explore complimenting the Flang MLIR general purpose compiler by combining with the domain specific Open Earth Compiler’s MLIR stencil dialect. Developing transformations to discover and extracts stencils from Fortran, this specialisation delivers between a 2- and 10-times performance improvement for our benchmarks on a Cray supercomputer compared to using Flang alone. Furthermore, by leveraging existing MLIR transformations we develop an auto-parallelisation approach targeting multi-threaded and distributed memory parallelism, and optimised execution on GPUs, without any modifications to the serial Fortran source code.
登录
查看更多内容
DOI:
--
发表时间:
2021
期刊:
International Conference on Parallel Architectures and Compilation Techniques
影响因子:
--
作者:
William S. Moses;Lorenzo Chelini;Ruizhe Zhao;O. Zinenko
通讯作者:
O. Zinenko
DOI:
10.1109/pyhpc.2016.9
发表时间:
2016
期刊:
2016 6th Workshop on Python for High-Performance and Scientific Computing (PyHPC)
影响因子:
--
作者:
Michael Lange;Navjot Kukreja;M. Louboutin;F. Luporini;Felippe Vieira;Vincenzo Pandolfo;Paulius Velesko;Paulius Kazakas;G. Gorman
通讯作者:
G. Gorman
影响因子:
3.8
作者:
Mudalige G
通讯作者:
Mudalige G
DOI:
--
发表时间:
2020
期刊:
Software for Exascale Computing
影响因子:
--
作者:
H. Bungartz;Severin Reiz;B. Uekermann;Philipp Neumann;W. Nagel
通讯作者:
W. Nagel
DOI:
--
发表时间:
2023
期刊:
IEEE/ACM International Symposium on Code Generation and Optimization
影响因子:
--
作者:
M. Essadki;B. Michel;B. Maugars;O. Zinenko;Nicolas Vasilache;Albert Cohen
通讯作者:
Albert Cohen