刘文琦, 王竹平. 一种面向多核DSP并行编译的设计与实现[J]. 微电子学与计算机, 2019, 36(1): 51-55.
引用本文: 刘文琦, 王竹平. 一种面向多核DSP并行编译的设计与实现[J]. 微电子学与计算机, 2019, 36(1): 51-55.
LIU Wen-qi, WANG Zhu-ping. Design and Implimentation of Parallel Compiler for Multicore DSP[J]. Microelectronics & Computer, 2019, 36(1): 51-55.
Citation: LIU Wen-qi, WANG Zhu-ping. Design and Implimentation of Parallel Compiler for Multicore DSP[J]. Microelectronics & Computer, 2019, 36(1): 51-55.

一种面向多核DSP并行编译的设计与实现

Design and Implimentation of Parallel Compiler for Multicore DSP

  • 摘要: OpenMP支持并行递增开发, 已成为目前用于共享内存系统上的一套事实主流并行编程标准.为了在多核DSP上实现对OpenMP的支持, 设计了一个对OpenMP程序面向多核DSP的并行编译器, 主要工作成果包括翻译器和运行时两部分, 翻译器将源文件中的OpenMP指令转换为运行时中的函数调用, 运行时提供具体实现.如何设计并行策略将计算任务分配在各个核上是并行编译的核心问题, 对应在OpenMP标准中为并行域的概念.编译器通过对并行指令的变换及运行时的支持, 实现了主从核的并行执行, 对并行编译器的设计具有指导意义.

     

    Abstract: Supporting incremental parallelization, OpenMP has become the de facto mainstream standard of parallel programming on shared memory processors. To enable parallel programming with OpenMP standard on multicore DSP, a compiler is designed for OpenMP programs running on multicore DSP. Our main work consists of a translator and runtime. The translator part converts the OpenMP directives into the function interface in runtime where the concrete implementation is provided. How to design the tactic to distribute computing task among the cores is the main concern of parallel compilation, which corresponds to the concept of parallel region in OpenMP. By means of the translation of parallel directives and support provided by runtime, parallel executing of master and slave cores is achieved, which offers instructive meaning to the design of parallel compilation.

     

/

返回文章
返回