文章摘要
李丹,曹海军,董小社,张保.GPU-S2S:面向GPU的源到源翻译转化[J].高技术通讯(中文),2012,22(4):388~394
GPU-S2S:面向GPU的源到源翻译转化
GPU-S2S: a source to source compiler for GPU
  修订日期:2010-09-02
DOI:
中文关键词: 图形处理器(GPU), 制导语句控制, 源到源转化
英文关键词: graphic processing unit (GPU), compiler directive, source to source translation
基金项目:863计划(2009AA01Z108,2009AA01A135,2006AA01A109)和中央高校基本科研业务费专项资金(08142007)资助项目
作者单位
李丹 西安交通大学电子与信息工程学院 
曹海军 西安交通大学电子与信息工程学院 
董小社 西安交通大学电子与信息工程学院 
张保 西安交通大学电子与信息工程学院 
摘要点击次数: 2753
全文下载次数: 2169
中文摘要:
      针对图形处理器(GPU)架构下的软件可移植性、可编程性差的问题,为了便于在GPU上开发并行程序,通过自动映射与静态编译相结合,提出了一种新的基于制导语句控制的编译优化方法,实现了一个源到源的自动转化工具GPU S2S,它能够将插入了制导语句的串行C程序转化为统一计算架构(CUDA)程序。实验结果表明,经GPU S2S转化生成的代码和英伟达(NVIDIA)提供的基准测试代码具有相当的性能;与原串行程序在CPU上执行相比,转换后的并行程序在GPU上能够获取显著的性能提升。
英文摘要:
      To address the problem of poor software portability and programmability of a graphic processing unit (GPU), and to facilitate the development of parallel programs on GPU, this study proposed a novel directive based compiler guided approach, and then the GPU S2S, a prototypic tool for automatic source to source translation, was implemented through combining automatic mapping with static compilation configuration, which is capable of translating a C sequential program with directives into a compute unified device architecture (CUDA) program. The experimental results show that CUDA codes generated by the GPU S2S can achieve comparable performance to that of CUDA benchmarks provided by NVIDIA CUDA SDK, and have significant performance improvements compared to its original C sequential codes.
查看全文   查看/发表评论  下载PDF阅读器
关闭

分享按钮