计算机科学 > 程序设计语言
[提交于 2019年10月8日]
标题:Design and Use of Loop-Transformation Pragmas
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Adding a pragma directive into the source code is arguably easier than rewriting it, for instance for loop unrolling. Moreover, if the application is maintained for multiple platforms, their difference in performance characteristics may require different code transformations. Code transformation directives allow replacing the directives depending on the platform, i.e. separation of code semantics and its performance optimization. In this paper, we explore the design space (syntax and semantics) of adding such directive into a future OpenMP specification. Using a prototype implementation in Clang, we demonstrate the usefulness of such directives on a few benchmarks.
提交历史
来自:Michael Kruse[v1] 2019年10月8日 星期二 00:00:00 UTC