arXiv · 1910.02375
Design and Use of Loop-Transformation Pragmas
Abstract
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.
Explore related subjects
Keep this discovery
Michael Kruse, Hal Finkel. 2019-10-06. Design and Use of Loop-Transformation Pragmas. https://doi.org/10.1007/978-3-030-28596-8_9
Cite the original work for its findings. Save a collection to share your selection of sources.