arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1707.02347cs.PLcs.MS
收藏

多面体模型在Devito中的时间循环应用

Applying the Polyhedral Model to Tile Time Loops in Devito

Dylan McCormick

摘要:

数值方法的许多科学计算应用程序的运行时间严重依赖于几个多维循环嵌套。由于这些应用程序通常受到内存带宽而不是计算资源的限制,因此它们可以从任何优化中受益匪浅,这些优化通过提高数据重用来减少循环的运行时间,从而减少总的内存流量。这些优化中的一些最有效的优化不适合手工开发,或者需要高级软件工程知识,这超出了许多不是代码优化专家的研究人员的水平。有几种工具可以自动生成用于数值方法的高性能代码,例如Devito,它可以生成通常用于地震成像域的有限差分近似代码。我们提出了一个循环平铺优化,可应用于Devito生成的循环,并提高运行时间高达27.5%,并选择自动化这种优化的Devito框架。

英文摘要:

The run time of many scientific computation applications for numerical methods is heavily dependent on just a few multi-dimensional loop nests. Since these applications are often limited by memory bandwidth rather than computational resources they can benefit greatly from any optimizations which decrease the run time of their loops by improving data reuse and thus reducing the total memory traffic. Some of the most effective of these optimizations are not suitable for development by hand or require advanced software engineering knowledge which is beyond the level of many researchers who are not specialists in code optimization. Several tools exist to automate the generation of high-performance code for numerical methods, such as Devito which produces code for finite-difference approximations typically used in the seismic imaging domain. We present a loop-tiling optimization which can be applied to Devito-generated loops and improves run time by up to 27.5%, and options for automating this optimization in the Devito framework.

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

↑