计算机科学 ›› 2011, Vol. 38 ›› Issue (4): 299-302.

• 体系结构 • 上一篇    下一篇

基于OpenMP/Fortran的源到源转换事务存储编程环境

黄春,贾建斌,彭林   

  1. (国防科学技术大学计算机学院 长沙410073)
  • 出版日期:2018-11-16 发布日期:2018-11-16
  • 基金资助:
    本文受国家科技重大专项(2009ZX01036-001-003),国家863高技术研究发展计划项目“面向片上多处理器系统的程序设计环境”(2008AA01Z110),国家自然科学基金(60903059)资助。

Source-to-Source Compiling Approach to Extend OpenMP/Fortran with Transactional Memory

HUANG Chun,JIA Jian-bin,PENG Lin   

  • Online:2018-11-16 Published:2018-11-16

摘要: 首次在Fortran语言中引入事务存储,对OpenMP Fortran API进行了扩展,以源到源转换的方式实现了FortranTM编译器原型。针对软件事务存储实现的特点,扩展了EXCLUDED和SCHEDULE指导命令子句,以便为程序员提供性能调整优化APIo测试结果表明FortranTM API编程便利,具有良好的性能。

关键词: 源到源转换,事务存储,FortranTM

Abstract: OpenMP Fortran directive APIs were extended to support transactional memory. I}his is the first time to introduce TM into Fortran language. The source-to-source translation method was involved in the compiler prototype named FortranTM EXCLUDED clause was introduced and SCHEDULE clause was extended with transaction size parameter. Experiment results show that FortranTM interfaces facilitate transactional programming and provide impressive performance profits.

Key words: Source-to-source,Transactional memory,FortranTM

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!