OpenACC到MIC平台上并行程序的自动翻译及优化  被引量:5

Automatic Open ACC to Intel Offload and Optimization for MIC

在线阅读下载全文

作  者:江霞[1] 安虹[1] 梁伟浩 张爱民[1] 李丰[1] 

机构地区:[1]中国科学技术大学计算机科学与技术学院,合肥230027

出  处:《小型微型计算机系统》2016年第4期824-829,共6页Journal of Chinese Computer Systems

基  金:国家"八六三"高技术研究发展计划项目(2012AA010902;2012AA010901)资助

摘  要:随着异构系统在高性能计算领域的流行,各种为异构平台设计的编程模型被提出,比如CUDA、Open CL等,而这些原生的编程模型存在着编程复杂、优化困难和可移植性差等问题.Open ACC标准通过添加编译制导语句指示编译器将相关的代码段或循环卸载到加速器上执行,可以解决这些问题.本文设计并实现了Open ACC到MIC平台上并行程序的自动翻译工具,从而实现了Open ACC对Intel MIC协处理器的支持.同时采取了数据传输优化方法对翻译后的代码进行了优化.实验采用完整的NPB测试包,实验结果表明,我们的翻译工具能够百分之百完成测试程序的翻译,并且针对不同规模的数据集翻译后的Offload代码的性能分别能够达到手工优化的Offload代码性能的74%,76%,80%.With the popularity of heterogeneous architectures in the field of High Performance Computing,a variety of programming models was put forward,such as CUDA,Open CL,etc.These native programming models have some problems,such as programming complexity,difficulty of optimization,poor portability,etc.Open ACC can solve these problems by adding compiler directives to identify which area of code or loop to accelerate.This paper implements a tool for translating Open ACC into optimized Intel Offload code automatically.Thus we can take advantage of Open ACC to program on Intel M IC coprocessor.The optimization technique for the translated code is data transmission optimization.Experiments on NPB benchmark with different input size shows that our tool can complete the translation of all test programs and achieve 74%,76%,80% performance of hand-written code in average respectively.

关 键 词:异构系统 OPEN ACC MIC 自动翻译 优化 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象