arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1710.08774cs.PFcs.DC
收藏

基于融合和矢量化的高性能代码生成

High-Performance Code Generation though Fusion and Vectorization

Jason Sewall, Simon J. Pennycook

摘要:

我们提出了一种技术,自动转换为融合的,矢量化的形式,可以减少中间存储的需求,并导致当代硬件性能的提高基于内核的计算在不同的,嵌套的循环。我们介绍了表示的抽象关系和数据依赖的内核在循环嵌套和算法操作它们成更有效的形式,我们同样介绍了技术,用于确定数据访问模式的模板式数组访问,并显示如何可以用来省略存储和提高矢量化。我们讨论我们的原型实现这些想法-命名HFAV-和它的使用一个声明性的,基于推理的前端驱动转换,我们提出了一些突出的HPC代码的结果。

英文摘要:

We present a technique for automatically transforming kernel-based computations in disparate, nested loops into a fused, vectorized form that can reduce intermediate storage needs and lead to improved performance on contemporary hardware. We introduce representations for the abstract relationships and data dependencies of kernels in loop nests and algorithms for manipulating them into more efficient form; we similarly introduce techniques for determining data access patterns for stencil-like array accesses and show how this can be used to elide storage and improve vectorization. We discuss our prototype implementation of these ideas---named HFAV---and its use of a declarative, inference-based front-end to drive transformations, and we present results for some prominent codes in HPC.

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

↑