跳到主要导航 跳到搜索 跳到主要内容

一种基于 LLVM Pass 的复杂嵌套循环自动并行化框架

  • Northwestern Polytechnical University Xian
  • Hainan University

科研成果: 期刊稿件 › 文章 › 同行评审

2 引用 (Scopus)

摘要

With the popularization of multi-core processors, automatic parallelization of serial codes in embedded legacy systems is a research hotspot. Among them, there are technical challenges in the automatic parallelization method for complex nested loops with imperfect nested structure and non-affine dependency characteristics. This paper proposes an automatic parallelization framework (CNLPF) for complex nested loops based on LLVM Pass. Firstly, a representation model of complex nested loops, namely loop structure tree, is proposed, and the regular region of nested loops is automatically converted into a loop structure tree representation. Then, the data dependency analysis is carried out on the loop structure tree to construct intra-loop and inter-loop dependency relationship. Finally, the parallel loop program is generated based on the OpenMP shared memory programming model. For the 6 program cases in the SPEC2006 data set containing nearly 500 complex nested loops, the statistics of the proportion of complex nested loops and the parallel performance acceleration test were carried out respectively. The results show that the automatic parallelization framework proposed in this paper can deal with complex nested loops that cannot be optimized by LLVM Polly, which enhances the parallel compilation and optimization capabilities of LLVM, and the method combined with Polly optimization improves the acceleration effect of Polly optimization alone by 9%~43%.

投稿的翻译标题An Automatic Parallelization Framework for Complex Nested Loops Based on LLVM Pass
源语言繁体中文
期刊Ruan Jian Xue Bao/Journal of Software
卷34
期7
DOI
出版状态已出版 - 2023

关键词

  • automatic parallelization
  • complex nested loops
  • dependency analysis
  • LLVM Pass

学术指纹

探究 '一种基于 LLVM Pass 的复杂嵌套循环自动并行化框架' 的科研主题。它们共同构成独一无二的学术指纹。

引用此