期刊文献+

OpenMP指导语句全局嵌套类型的静态分析及应用(英文) 被引量:3

Static Analysis of OpenMP Directive Nesting Types and Its Application
下载PDF
导出
摘要 由于指导语句动态嵌套与绑定规则的存在,OpenMP 程序中线程的一些上下文只能在运行时刻才能完全确定.然而,通过编译时刻的静态分析可以部分确定指导语句的嵌套类型,这些信息可以用于指导后续的编译与优化.由于函数调用的存在,嵌套与绑定常常会跨越过程边界,除了通常的局部和全局分析之外,还需要过ü谕ǔ5墓碳浞治龅幕∩细郊有畔?可以使得嵌套类型信息在过程调用图中进行传播.将这些全局信息与过程内的局部信息结合起来,就可以在编译时刻确定语句的嵌套类型.结果表明,编译时刻的嵌套类型分析可以有效地确定通常的科学与工程计算程序中指导语句的嵌套类型,基于嵌套类型的翻译与优化可以同时减少运行时开销和目标代码长度. Because of the rules of dynamic directive nesting and binding, some of the thread context in OpenMP programs can only be totally determined at runtime. However, by compiling time static analysis, nesting type can be partly determined and this information can be passed to other compiling phases to guide later translation and optimizations. Since the binding and nesting may span the procedure boundaries through calls, local and global analyses are not enough. It is the interprocedural analysis that provides the most required ability. By integrating information into traditional interprocedural analysis, the nesting type information of procedures is propagated along call graphs. And later translation and optimization phases can bind this global information with local information inside the procedure to determine the nesting types at compiling time. The results demonstrate that in typical science and engineering workload the nesting type is highly determinable at compiling time, and the application of this information may achieve less runtime overhead and the reduced code size.
出处 《软件学报》 EI CSCD 北大核心 2005年第2期194-204,共11页 Journal of Software
基金 国家自然科学基金~~
关键词 0penMP 编译 过程间分析 全局嵌套类型 OpenMP翻译 Computer programming languages Parallel algorithms
  • 相关文献

参考文献12

  • 1OpenMP Architecture Review Board. OpcnMP FORTRAN Application Program Interface Version 2.0, November 2000. OpenMPC and C++ Application Program Interface version 2.0, March 2002. http://www.openmp.org.
  • 2Jin H, Frumkin M, Yan J. The OpenMP implementation of NAS parallel benchmarks and its perfomance. Technical Report, Report NAS-99-011, NASA Ames Research Center, 1999.
  • 3Brunschen C, Brorsson M. OdinMP/CCp-a portable implementation of OpenMP for C. Concurrency: Practice and Experience,2000,12(12):1193-1203.
  • 4Seung JM, Seon WK, Voss M, Sang IL Eigenmann R. Portable compilers for Open MP. IL Proc. of the Workshop on OpenMP Applications and Tools (WOMPAT2001). Purdue University, West Lafayette, Indian~ 2001. 11-19.
  • 5Ayguade E, Marc G, Labarta J. NanosCompiler: A research platform for OpenMP extensions. In: Proc. of the 1st European Workshop on OpenMP (EWOMP'99) Lund, Sweden 1999.27-31.
  • 6Sato M, Satoh S, Kusano K, Tanaka Y. Design of OpenMP compiler for an SMP cluster. In: Proc. of the I st European Workshop on OpenMP (EWOMP'99). Lund, Sweden 1999.32-39.
  • 7Sato M, Harada H, Hasegawa A. Cluster-Enabled OpenMP: An OpenMP compiler for the SCASH software distributed shared memory system. Scientific Programming 2001,9(2-3): 123-130.
  • 8Satoh S, Kusano K, Sato M. Compiler optimization techniques for OpenMP programs. Scientific Programming 2001,9(2-3):131-142.
  • 9Kusano K, Satoh S, Sato M. Performance evaluation of the omni OpenMP compiler. In: Valero M, et al. eds. Proc of the Workshop on OpenMP: Experiences and Implementations (WOAPEI2000). Berlin: Springer Verlag, 2000.403-414.
  • 10Open Research Compiler. http://ipforc.sourceforge.net.

同被引文献17

引证文献3

二级引证文献5

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部