首页> 外文期刊>International journal of grid and high performance computing >Parallel Shellsort Algorithm for Many-Core GPUs with CUDA
【24h】

Parallel Shellsort Algorithm for Many-Core GPUs with CUDA

机译:带有CUDA的多核GPU的并行Shellsort算法

获取原文
获取原文并翻译 | 示例
           

摘要

Sorting is a classic algorithmic problem and its importance has led to the design and implementation of various sorting algorithms on many-core graphics processing units (GPUs). CUDPP Radix sort is the most efficient sorting on GPUs and GPU Sample sort is the best comparison-based sorting. Although the implementations of these algorithms are efficient, they either need an extra space for the data rearrangement or the atomic operation for the acceleration. Sorting applications usually deal with a large amount of data, thus the memory utilization is an important consideration. Furthermore, these sorting algorithms on GPUs without the atomic operation support can result in the performance degradation or fail to work. In this paper, an efficient implementation of a parallel shellsort algorithm, CUDA shellsort, is proposed for many-core GPUs with CUDA. Experimental results show that, on average, the performance of CUDA shellsort is nearly twice faster than GPU quicksort and 37% faster than Thrust mergesort under uniform distribution. Moreover, its performance is the same as GPU sample sort up to 32 million data elements, but only needs a constant space usage. CUDA shellsort is also robust over various data distributions and could be suitable for other many-core architectures.
机译:排序是一个经典的算法问题,其重要性已导致在多核图形处理单元(GPU)上设计和实现各种排序算法。 CUDPP Radix排序是GPU上最高效的排序,GPU Sample排序是基于比较的最佳排序。尽管这些算法的实现效率很高,但是它们要么需要额外的空间来进行数据重排,要么需要原子操作来进行加速。排序应用程序通常处理大量数据,因此内存利用率是一个重要的考虑因素。此外,在没有原子操作支持的情况下,GPU上的这些排序算法可能会导致性能下降或无法正常工作。本文针对具有CUDA的多核GPU,提出了并行shellsort算法CUDA shellsort的有效实现。实验结果表明,在均匀分布的情况下,CUDA shellsort的性能平均比GPU quicksort快两倍,比Thrust mergesort快37%。而且,其性能与GPU样本(最多可处理3200万个数据元素)相同,但只需要恒定的空间使用量即可。 CUDA shellsort在各种数据分发方面也很强大,并且可能适用于其他多核体系结构。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号