arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1805.03374cs.PL
收藏

循环转换语用学的一个建议

A Proposal for Loop-Transformation Pragmas

Michael Kruse, Hal Finkel

摘要:

用于循环转换(如展开)的杂注在大多数主流编译器中实现。它们被应用程序员使用,因为与直接修改相关循环的源代码相比,它们易于使用。我们为常见的循环转换提出了额外的pragmas,这些转换远远超出了当今编译器提供的转换,并且应该使大多数源代码重写变得不必要。为了鼓励编译器实现这些杂注,并避免不兼容的语法的多样性,我们想引发一个关于包含到OpenMP标准的讨论。

英文摘要:

Pragmas for loop transformations, such as unrolling, are implemented in most mainstream compilers. They are used by application programmers because of their ease of use compared to directly modifying the source code of the relevant loops. We propose additional pragmas for common loop transformations that go far beyond the transformations today's compilers provide and should make most source rewriting for the sake of loop optimization unnecessary. To encourage compilers to implement these pragmas, and to avoid a diversity of incompatible syntaxes, we would like to spark a discussion about an inclusion to the OpenMP standard.

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

↑