Introducing 'Bones': a parallelizing source-to-source compiler based on algorithmic skeletons

GPGPU-5 Pub Date : 2012-03-03 DOI:10.1145/2159430.2159431
C. Nugteren, H. Corporaal
{"title":"Introducing 'Bones': a parallelizing source-to-source compiler based on algorithmic skeletons","authors":"C. Nugteren, H. Corporaal","doi":"10.1145/2159430.2159431","DOIUrl":null,"url":null,"abstract":"Recent advances in multi-core and many-core processors requires programmers to exploit an increasing amount of parallelism from their applications. Data parallel languages such as CUDA and OpenCL make it possible to take advantage of such processors, but still require a large amount of effort from programmers.\n A number of parallelizing source-to-source compilers have recently been developed to ease programming of multi-core and many-core processors. This work presents and evaluates a number of such tools, focused in particular on C-to-CUDA transformations targeting GPUs. We compare these tools both qualitatively and quantitatively to each other and identify their strengths and weaknesses.\n In this paper, we address the weaknesses by presenting a new classification of algorithms. This classification is used in a new source-to-source compiler, which is based on the algorithmic skeletons technique. The compiler generates target code based on skeletons of parallel structures, which can be seen as parameterisable library implementations for a set of algorithm classes. We furthermore demonstrate that the presented compiler requires little modifications to the original sequential source code, generates readable code for further fine-tuning, and delivers superior performance compared to other tools for a set of 8 image processing kernels.","PeriodicalId":232750,"journal":{"name":"GPGPU-5","volume":"27 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2012-03-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"49","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"GPGPU-5","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/2159430.2159431","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 49

Abstract

Recent advances in multi-core and many-core processors requires programmers to exploit an increasing amount of parallelism from their applications. Data parallel languages such as CUDA and OpenCL make it possible to take advantage of such processors, but still require a large amount of effort from programmers. A number of parallelizing source-to-source compilers have recently been developed to ease programming of multi-core and many-core processors. This work presents and evaluates a number of such tools, focused in particular on C-to-CUDA transformations targeting GPUs. We compare these tools both qualitatively and quantitatively to each other and identify their strengths and weaknesses. In this paper, we address the weaknesses by presenting a new classification of algorithms. This classification is used in a new source-to-source compiler, which is based on the algorithmic skeletons technique. The compiler generates target code based on skeletons of parallel structures, which can be seen as parameterisable library implementations for a set of algorithm classes. We furthermore demonstrate that the presented compiler requires little modifications to the original sequential source code, generates readable code for further fine-tuning, and delivers superior performance compared to other tools for a set of 8 image processing kernels.
介绍'Bones':一个基于算法骨架的并行源码到源码编译器
多核和多核处理器的最新进展要求程序员从他们的应用程序中利用越来越多的并行性。像CUDA和OpenCL这样的数据并行语言使得利用这样的处理器成为可能,但仍然需要程序员付出大量的努力。为了简化多核和多核处理器的编程,最近开发了许多并行的源对源编译器。这项工作提出并评估了许多这样的工具,特别关注针对gpu的c到cuda转换。我们对这些工具进行了定性和定量的比较,并确定了它们的优缺点。在本文中,我们通过提出一种新的分类算法来解决这些弱点。这种分类在一个新的基于算法骨架技术的源到源编译器中使用。编译器基于并行结构的骨架生成目标代码,这可以看作是一组算法类的可参数化库实现。我们进一步证明,所提出的编译器只需要对原始的顺序源代码进行很少的修改,生成可读的代码以进行进一步的微调,并且与一组8个图像处理内核的其他工具相比,提供了优越的性能。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信