节点文献
粗粒度异构预编译器的设计与实现
Design and Implementation of Coarse-Grained Heterogeneous Pre-compiler (CHP)
【摘要】 提出了一种基于用户指导法的异构计算的动态实现工具 ,称为粗粒度异构预编译器( CHP) .定义了 5种用户在并行编程时需显式说明的代码段的类型 ( SISD,SIMD,MIMD,VEC-TOR,MASTER) ,以及用户对代码段的输入和输出参数需进行的说明 .预编译器可将用户程序中对代码类型的描述析取出来 ,并在执行的过程中进行任务的划分、映射和调度 .CHP的输入为内嵌代码类型描述的串行源程序 ,经 CHP预编译分析输入和输出参数后 ,自动生成能调用 PVM例程、实现并行化的目标程序 .该目标程序再经编译即可并行执行 .文中还对进程派生的执行过程进行了分析
【Abstract】 A dynamic implementation tool for heterogeneous computing called CHP(Coarse grained Heterogeneous Pre compiler) based on user directed approach was proposed. Five code types (SISD, SIMD, MIMD, VECTOR, and MASTER) which should be specified explicitly by user in parallel programming were defined. The rules for describing the input and output parameters of each code segments were also discussed. CHP will extract the code type from the code segment, and perform task partitioning, mapping and scheduling during the program execution. The import of CHP is a sequential source program with embedded code type profiling. After analyzing the input and output parameters by CHP, an object program that automatically calls parallel virtual machine(PVM) routines to implement parallelism will be generated. The object program then can be executed concurrently after compiled. The executing procedure of process spawning was also analyzed in this paper.
【Key words】 automatic heterogeneous computing; user-directed approach; pre compiler; code-type profil-ing; parallel virtual machine(PVM);
- 【文献出处】 上海交通大学学报 ,JOURNAL OF SHANGHAI JIAOTONG UNIVERSITY , 编辑部邮箱 ,2000年07期
- 【分类号】TP314
- 【被引频次】2
- 【下载频次】56