摘要: 介绍了如何基于SUIF实现具有OpenMP编译指示的自动并行化工作,即利用SUIF系统所提供的遍(pass)、注释(annotation)和C抽象语法树等技术,通过对类Ctree的修改,把并行注释转化为OpenMP编译指示,实现由串行程序到并行C程序的自动生成。
关键词:
SUIF,
OpenMP,
注释,
抽象语法树,
C抽象语法树
Abstract: This article introduces how to implement the automaticlly parallelized task with OpenMP directive based on SUIF compiler system, that is, using the technology of annotations, passes, and C AST that SUIF compiler system provided, it deeply discusses how to transform parallel annotations to OpenMP directives and automatically parallelize the serial program of C language through modifying the class Ctree .
中图分类号:
马红途,赵荣彩,张平,高翔. 基于SUIF自动产生具有OpenMP编译指示的并行程序[J]. , 2005, 31(08): 95-.
MA Hongtu, ZHAO Rongcai, ZHANG Ping, GAO Xiang. Parallel Compiler of Implementing OpenMP Directive Based on SUIF[J]. , 2005, 31(08): 95-.