高级检索

    一种基于动态并行区的OpenMP程序开发模式

    A Mode for Developing OpenMP Programs Based on Dynamic Parallel Region

    • 摘要: 通常,OpenMP程序开发将开发过程、程序正确性检测和性能分析分离开来.为此,提出动态并行区的概念,并在此基础上提出一种新的OpenMP程序开发模式,将OpenMP程序的开发过程、正确性检测和性能分析紧密地联系起来.在OpenMP程序开发的每一阶段,都能确保程序的正确性;同时,通过精确的性能分析与细微的性能调整,使得OpenMP程序的性能随开发的不断深入而逐步得到改进.据此开发的NPB2.3 OpenMP Fortran版的实测结果显示出该模式的可行性.

       

      Abstract: Generally, developing OpenMP programs is separated from correctness test and performance analysis. Therefore, the concept of dynamic parallel region and a mode for developing OpenMP programs based on it are proposed, which combines the development of OpenMP programs with correctness testing and performance analysis. At every stage of developing OpenMP programs, the correctness of OpenMP programs is insured. At the same time, the performance of OpenMP programs is improved step by step through refined performance analysis and nice performance tuning during the development of OpenMP programs. The test results for NPB2.3 OpenMP Fortran version, which is developed according to the mode based on dynamic parallel region, show that this mode is feasible.

       

    /

    返回文章
    返回