A Fast and Flexible Sorting Algorithm with CUDA

  • Authors:
  • Shifu Chen;Jing Qin;Yongming Xie;Junping Zhao;Pheng-Ann Heng

  • Affiliations:
  • Shenzhen Institute of Advanced Integration Technology, Chinese Academy of Sciences/The Chinese University of Hong Kong,;Department of Computer Science and Engineering, The Chinese University of Hong Kong,;Department of Computer Science and Engineering, The Chinese University of Hong Kong,;Institue of Medical Informatics, Chinese PLA General Hospital & Postgraduate Medical School,;Shenzhen Institute of Advanced Integration Technology, Chinese Academy of Sciences/The Chinese University of Hong Kong, and Department of Computer Science and Engineering, The Chinese University o ...

  • Venue:
  • ICA3PP '09 Proceedings of the 9th International Conference on Algorithms and Architectures for Parallel Processing
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

In this paper, we propose a fast and flexible sorting algorithm with CUDA. The proposed algorithm is much more practical than the previous GPU-based sorting algorithms, as it is able to handle the sorting of elements represented by integers, floats and structures. Meanwhile, our algorithm is optimized for the modern GPU architecture to obtain high performance. We use different strategies for sorting disorderly list and nearly-sorted list to make it adaptive. Extensive experiments demon- strate our algorithm has higher performance than previous GPU-based sorting algorithms and can support real-time applications.