arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2209.05250cs.PLcs.MS
收藏

Looplets:一种用于结构化协同迭代的语言

Looplets: A Language For Structured Coiteration

Willow Ahrens, Daniel Donenfeld, Fredrik Kjolstad, Saman Amarasinghe

AI总结:

本文提出Looplets语言,通过抽象数组结构使编译器自动生成协同迭代代码,支持新格式、策略与操作,显著提升结构化数据处理效率。

摘要:

现实世界中的数组通常包含底层结构,例如稀疏性、重复值的连续段或对称性。针对结构进行特化可以带来显著的加速。但自动为结构化数据生成高效代码具有挑战性,尤其是当具有不同结构的数组相互作用时。我们展示了如何对数组结构进行抽象,以便编译器能够生成代码以协同迭代(coiterate)它们的任意组合。我们的技术使得新的数组格式(如用于不规则聚类稀疏性的1DVBL)、新的迭代策略(如跳跃式交集)以及新的结构化数据操作(如拼接或卷积)成为可能。

英文摘要:

Real world arrays often contain underlying structure, such as sparsity, runs of repeated values, or symmetry. Specializing for structure yields significant speedups. But automatically generating efficient code for structured data is challenging, especially when arrays with different structure interact. We show how to abstract over array structures so that the compiler can generate code to coiterate over any combination of them. Our technique enables new array formats (such as 1DVBL for irregular clustered sparsity), new iteration strategies (such as galloping intersections), and new operations over structured data (such as concatenation or convolution).

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

↑