arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1604.08501cs.PLcs.NAcs.PFmath.NA
收藏

通过实例展示Array Program Transformation with Loo.py:高阶有限元

Array Program Transformation with Loo.py by Example: High-Order Finite Elements

University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Naval Postgraduate School(海军研究生学院);Virginia Polytechnic Institute and State University(弗吉尼亚理工大学)

Andreas Klöckner, Lucas C. Wilcox, T. Warburton

AI总结:

本文通过两个实际的Fortran子程序转换为适用于现代GPU硬件的高性能计算内核,展示了Loo.py程序转换系统的能力,包括内核融合、向量化、预取、并行化和算法变化等核心方法,最终通过性能结果验证了转换的有效性。

摘要:

为了简洁有效地展示我们程序转换系统Loo.py的能力,我们考察了从天气模型中发现的两个实际的Fortran子程序到一个适用于现代GPU硬件的高性能计算内核的转换路径。在转换过程中,我们遇到了内核融合、向量化、预取、并行化以及通过机械转换在命令式和基于函数/替换的代码之间实现的算法变化等。我们最后通过性能结果展示了转换的效果,并支持所应用转换的有效性。

英文摘要:

To concisely and effectively demonstrate the capabilities of our program transformation system Loo.py, we examine a transformation path from two real-world Fortran subroutines as found in a weather model to a single high-performance computational kernel suitable for execution on modern GPU hardware. Along the transformation path, we encounter kernel fusion, vectorization, prefetch- ing, parallelization, and algorithmic changes achieved by mechanized conversion between imperative and functional/substitution- based code, among a number more. We conclude with performance results that demonstrate the effects and support the effectiveness of the applied transformations.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑