首页 | 本学科首页   官方微博 | 高级检索  
     

一种针对异构计算平台的编译期优化方法
引用本文:裴 根,朱振国,孔 颖. 一种针对异构计算平台的编译期优化方法[J]. 计算机应用研究, 2013, 30(5): 1402-1404
作者姓名:裴 根  朱振国  孔 颖
作者单位:重庆交通大学 信息与工程学院, 重庆 404100
摘    要:针对OpenCL(open computing language)编译时期的特有模式, 提出了一种新的针对异构计算平台的编译期优化方法。该方法根据设备端和主机端的各自特点, 将设备端的一些冗余操作提到主机端或者新的设备端kernel中去执行, 以达到降低存储器读写的目的。这种方法充分利用了异构计算平台的特点, 较传统优化方法相对灵活。大多数情况下能有效提高OpenCL的运行速度, 测试用例中在应用原有编译器优化的基础上最快提高了270%。

关 键 词:编译优化   OpenCL   异构计算   冗余代码外提

Compile-time optimization method for heterogeneous computing platforms
PEI Gen,ZHU Zhen-guo,KONG Ying. Compile-time optimization method for heterogeneous computing platforms[J]. Application Research of Computers, 2013, 30(5): 1402-1404
Authors:PEI Gen  ZHU Zhen-guo  KONG Ying
Affiliation:School of Information & Engineering, Chongqing Jiaotong University, Chongqing 404100, China
Abstract:For the OpenCL(open computing language) peculiar mode, this paper proposed a new compile-time optimization methods for heterogeneous computing platform. According to the characteristics of each device-side and host-side, this method took the redundant operation of the device-end to the host-side or new device-side to operate, which reduced the times of read and write memory. This method took full advantage of the characteristics of the heterogeneous computing platforms, relatively flexible compared to traditional optimization methods. It can effectively improve the overall speed in many cases, the fastest increase of 270% in test samples.
Keywords:compiler optimizations   OpenCL   heterogeneous computing   redundant code motion
点击此处可从《计算机应用研究》浏览原始摘要信息
点击此处可从《计算机应用研究》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号