gpu上流压缩的快速混合方法

V. Rego, Janche Sang, Chansu Yu
{"title":"gpu上流压缩的快速混合方法","authors":"V. Rego, Janche Sang, Chansu Yu","doi":"10.1109/CANDAR.2016.0089","DOIUrl":null,"url":null,"abstract":"Stream compaction, also known as stream filtering or selection, produces a smaller output array which contains the indices of the only selected elements from the input array for further processing. With the tremendous amount of data elements to be filtered, the performance of selection is of great concern. Recently, modern Graphics Processing Units (GPUs) have been increasingly used to accelerate the execution of massively large, data parallel applications. In this paper, we proposed a hybrid implementation method for stream compaction on GPUs by using both parallel prefix-sum and atomics approaches. We compared its performance with different parallel selection algorithms on the current generation of NVIDIA GPUs. The experimental results show that our method can be more than 120 times faster than the sequential selection on CPU. Furthermore, the hybrid method performs the best among all existing selection algorithms on GPU and can be 5.6 times faster than Thrust, an open-source parallel algorithms library.","PeriodicalId":322499,"journal":{"name":"2016 Fourth International Symposium on Computing and Networking (CANDAR)","volume":"17 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2016-11-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"6","resultStr":"{\"title\":\"A Fast Hybrid Approach for Stream Compaction on GPUs\",\"authors\":\"V. Rego, Janche Sang, Chansu Yu\",\"doi\":\"10.1109/CANDAR.2016.0089\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Stream compaction, also known as stream filtering or selection, produces a smaller output array which contains the indices of the only selected elements from the input array for further processing. With the tremendous amount of data elements to be filtered, the performance of selection is of great concern. Recently, modern Graphics Processing Units (GPUs) have been increasingly used to accelerate the execution of massively large, data parallel applications. In this paper, we proposed a hybrid implementation method for stream compaction on GPUs by using both parallel prefix-sum and atomics approaches. We compared its performance with different parallel selection algorithms on the current generation of NVIDIA GPUs. The experimental results show that our method can be more than 120 times faster than the sequential selection on CPU. Furthermore, the hybrid method performs the best among all existing selection algorithms on GPU and can be 5.6 times faster than Thrust, an open-source parallel algorithms library.\",\"PeriodicalId\":322499,\"journal\":{\"name\":\"2016 Fourth International Symposium on Computing and Networking (CANDAR)\",\"volume\":\"17 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2016-11-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"6\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2016 Fourth International Symposium on Computing and Networking (CANDAR)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/CANDAR.2016.0089\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2016 Fourth International Symposium on Computing and Networking (CANDAR)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CANDAR.2016.0089","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 6

摘要

流压缩,也称为流过滤或选择,产生一个较小的输出数组,其中包含从输入数组中唯一被选中的元素的索引,以供进一步处理。由于要过滤的数据元素数量巨大,因此选择的性能非常重要。最近,现代图形处理单元(gpu)越来越多地用于加速大规模数据并行应用程序的执行。在本文中,我们提出了一种使用并行前缀和和原子方法在gpu上进行流压缩的混合实现方法。我们将其与当前一代NVIDIA gpu上不同的并行选择算法的性能进行了比较。实验结果表明,该方法比CPU上的顺序选择方法快120倍以上。此外,该方法在现有的GPU选择算法中性能最好,比开源并行算法库Thrust快5.6倍。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
A Fast Hybrid Approach for Stream Compaction on GPUs
Stream compaction, also known as stream filtering or selection, produces a smaller output array which contains the indices of the only selected elements from the input array for further processing. With the tremendous amount of data elements to be filtered, the performance of selection is of great concern. Recently, modern Graphics Processing Units (GPUs) have been increasingly used to accelerate the execution of massively large, data parallel applications. In this paper, we proposed a hybrid implementation method for stream compaction on GPUs by using both parallel prefix-sum and atomics approaches. We compared its performance with different parallel selection algorithms on the current generation of NVIDIA GPUs. The experimental results show that our method can be more than 120 times faster than the sequential selection on CPU. Furthermore, the hybrid method performs the best among all existing selection algorithms on GPU and can be 5.6 times faster than Thrust, an open-source parallel algorithms library.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
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学术官方微信