- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
基于OpenCL 的归约算法优化研究
1,2,3+ 1,2 1
颜深根 , 张云泉 , 龙国平
1( 中国科学院 软件研究所 并行软件与计算科学实验室.北京 100190)
2( 中国科学院 软件研究所 计算机科学国家重点实验室.北京 100190)
3( 中国科学院 研究生院.北京 100190)
Reduction Algorithm Optimization Based on the OpenCL
Shengen Yan1,2,3+, Yunquan Zhang 1,2, Guoping Long1
1(Laboratory of Parallel Software and Computational Science, Institute of Software, the Chinese Academy of Sciences, Beijing
100190, China) 1
2(State Key Laboratory of Computing Science, the Chinese Academy of Sciences, Beijing 100190, China)
3(Graduate University, the Chinese Academy of Sciences, Beijing 100190, China)
+ Corresponding author: E-mail : yanshengen@
Abstract : Reduction algorithm has a wide range application in areas such as scientific computing and image
processing,this paper Systematicly studied the reduction algorithm optimization on the GPUs cross-platform
performance optimization based on the OpenCL framework.Previously research has generally focused on a single
hardware architecture, this paper based on the OpenCL,stydied various kinds of optimization methods,such as using
vector 、on-chip memory bank conflict、threads organization、instruction selection and so on.we take the minMax
function for example,dilatationed each optimization method for develep the performance,and detailed the reason.we
tested the algorithm both on AMD GPU and NVIDIA GPU platforms. The test results show that the optimized
algorithm on both platforms have achieved good performance. In the AMD ATI Radeon HD 5850 platform,Int and
Float types of data bandwidth utilization up to 89%. In the NVIDIA GPU Tesla C2050 platform, the performance
has reached 1.3 to 1.9 times compare to appropriate function version of CUDA.
Key words: GPU;Parallel Reduction; OpenCL;CUDA
摘 要: 归约算法在科学计算和图像等领域有着广泛应用,本文系统研究了在 OpenCL 框架下,归约算法在 GPU
上的跨平台性能优化.已有研究工作一般只侧重单个硬件架构,本文基于 OpenCL 从向量化、片上存储
文档评论(0)