当前位置: X-MOL 学术Int. J. Parallel. Program › 论文详情
Our official English website, www.x-mol.net, welcomes your feedback! (Note: you will need to create a separate account there.)
Enhancing the Effectiveness of Inlining in Automatic Parallelization
International Journal of Parallel Programming ( IF 1.5 ) Pub Date : 2021-08-06 , DOI: 10.1007/s10766-021-00722-1
Jichi Guo 1 , Qing Yi 1 , Kleanthis Psarris 2
Affiliation  

The emergence of multi-core architectures makes it essential for optimizing compilers to automatically extract parallelism for large scientific applications composed of many subroutines residing in different files. Inlining is a well-known technique which can be used to erase procedural boundaries and enable more aggressive loop parallelization. However, conventional inlining cannot be applied to external libraries where the source code is not available, and when overly applied, it can degrade the effectiveness of compiler optimizations due to excessive code complexity. This paper highlights some obstacles we encountered while applying conventional inlining combined with automatic loop parallelization using the Polaris optimizing compiler and presents a new approach, annotation-based inlining, to effectively overcome these obstacles. Our experimental results show that the annotation-based inlining approach can eliminate negative impact of conventional inlining while enhancing the effectiveness of interprocedural parallelization for a majority of applications from the PERFECT benchmark suite.



中文翻译:

提高自动并行化中内联的有效性

多核架构的出现使得优化编译器以自动提取由驻留在不同文件中的许多子例程组成的大型科学应用程序的并行性变得至关重要。内联是一种众所周知的技术,可用于擦除过程边界并实现更积极的循环并行化。然而,传统的内联不能应用于源代码不可用的外部库,并且当过度应用时,由于过度的代码复杂性,它会降低编译器优化的有效性。本文重点介绍了我们在使用 Polaris 优化编译器将传统内联与自动循环并行化相结合时遇到的一些障碍,并提出了一种新方法,即基于注释的内联,以有效克服这些障碍。

更新日期:2021-08-10
down
wechat
bug