本文已被:浏览 1119次 下载 1920次
Received:February 19, 2020 Revised:March 17, 2020
Received:February 19, 2020 Revised:March 17, 2020
中文摘要: 大量遗留的串行代码需要进行并行化改造,而并行程序复杂性及并行计算平台多样性导致改造成本较高.为此,设计了一种基于标记语言的三层并行编程框架,完成了从串行程序层到并行中间代码层、并行中间代码层到目标并行编程语言程序层的二个转换阶段.采用对串行代码进行语言标记的方法来实现并行中间代码层,该代码层实际是共享存储、分布式存储并行平台编程语言的一种抽象.该框架还实现了一种性能标记方法,可用于并行参数自动寻优.用于雷达数据处理的实验结果表明,实现了对应并行代码的生成,且并行加速比与人工实现的并行代码相当.
Abstract:A large number of legacy serial codes need to be parallelized, and the complexity of parallel programs and the diversity of parallel computing platforms lead to high cost of transformation. For this reason, a three-layer parallel programming framework based on markup language is designed, which completes the two transformation stages from serial program layer to parallel intermediate code layer and from parallel intermediate code layer to target parallel programming language program layer. The method of language marking of serial code is used to realize the parallel intermediate code layer, which is actually an abstraction of the programming language of the parallel platform of shared storage and distributed storage. The framework also implements a performance tagging method, which can be used for automatic optimization of parallel parameters. The experimental results for radar data processing show that the corresponding parallel code is generated, and the parallel speedup ratio is equivalent to that of the manual parallel code.
keywords: directives cross-platform parallel programming framework parallel computing sequential code
文章编号: 中图分类号: 文献标志码:
基金项目:国家自然科学基金面上项目(61672480)
引用文本:
唐佩佳,徐云,钟旭阳.基于标记语言的跨平台并行编程框架设计.计算机系统应用,2020,29(10):82-88
TANG Pei-Jia,XU Yun,ZHONG Xu-Yang.Design of Cross Platform Parallel Programming Framework Based on Directives.COMPUTER SYSTEMS APPLICATIONS,2020,29(10):82-88
唐佩佳,徐云,钟旭阳.基于标记语言的跨平台并行编程框架设计.计算机系统应用,2020,29(10):82-88
TANG Pei-Jia,XU Yun,ZHONG Xu-Yang.Design of Cross Platform Parallel Programming Framework Based on Directives.COMPUTER SYSTEMS APPLICATIONS,2020,29(10):82-88