Parameter Tuning Model for Optimizing Application Performance on GPU

Nhat-Phuong Tran, Myungho Lee
{"title":"Parameter Tuning Model for Optimizing Application Performance on GPU","authors":"Nhat-Phuong Tran, Myungho Lee","doi":"10.1109/FAS-W.2016.28","DOIUrl":null,"url":null,"abstract":"Recently, the Graphic Processing Units (GPUs) are becoming increasingly popular for the High Performance Computing (HPC) applications. Although the GPUs provide high peak performance, exploiting the full performance potential for application programs, however, leaves a challenging task to the programmers. When launching a parallel kernel of an application on the GPU, the programmer needs to carefully select the number of blocks (grid size) and the number of threads per block (block size) which greatly influence the performance. With a huge range of possible combinations of the parameter values, choosing the right grid size and the block size is not straightforward. In this paper, we propose a model for tuning the grid size and the block size through which we can reach the optimal performance. Our approach can significantly reduce the potential search space, instead of exhaustive search approaches in the previous research which are not practical in the real applications.","PeriodicalId":382778,"journal":{"name":"2016 IEEE 1st International Workshops on Foundations and Applications of Self* Systems (FAS*W)","volume":"46 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2016-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"4","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2016 IEEE 1st International Workshops on Foundations and Applications of Self* Systems (FAS*W)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/FAS-W.2016.28","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 4

Abstract

Recently, the Graphic Processing Units (GPUs) are becoming increasingly popular for the High Performance Computing (HPC) applications. Although the GPUs provide high peak performance, exploiting the full performance potential for application programs, however, leaves a challenging task to the programmers. When launching a parallel kernel of an application on the GPU, the programmer needs to carefully select the number of blocks (grid size) and the number of threads per block (block size) which greatly influence the performance. With a huge range of possible combinations of the parameter values, choosing the right grid size and the block size is not straightforward. In this paper, we propose a model for tuning the grid size and the block size through which we can reach the optimal performance. Our approach can significantly reduce the potential search space, instead of exhaustive search approaches in the previous research which are not practical in the real applications.
基于GPU的应用性能优化参数调优模型
近年来,图形处理单元(gpu)在高性能计算(HPC)应用中越来越受欢迎。尽管gpu提供了很高的峰值性能,但开发应用程序的全部性能潜力给程序员留下了一项具有挑战性的任务。当在GPU上启动应用程序的并行内核时,程序员需要仔细选择块的数量(网格大小)和每个块的线程数(块大小),这对性能有很大的影响。由于参数值的可能组合范围很大,选择正确的网格大小和块大小并不简单。在本文中,我们提出了一个模型来调整网格大小和块大小,通过它我们可以达到最优的性能。我们的方法可以显著减少潜在的搜索空间,而不是以往研究中的穷举搜索方法在实际应用中不实用。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信