Title
Fast segmented sort on GPUs.
Abstract
Segmented sort, as a generalization of classical sort, orders a batch of independent segments in a whole array. Along with the wider adoption of manycore processors for HPC and big data applications, segmented sort plays an increasingly important role than sort. In this paper, we present an adaptive segmented sort mechanism on GPUs. Our mechanisms include two core techniques: (1) a differentiated method for different segment lengths to eliminate the irregularity caused by various workloads and thread divergence; and (2) a register-based sort method to support N-to-M data-thread binding and in-register data communication. We also implement a shared memory-based merge method to support non-uniform length chunk merge via multiple warps. Our segmented sort mechanism shows great improvements over the methods from CUB, CUSP and ModernGPU on NVIDIA K80-Kepler and TitanX-Pascal GPUs. Furthermore, we apply our mechanism on two applications, i.e., suffix array construction and sparse matrix-matrix multiplication, and obtain obvious gains over state-of-the-art implementations.
Year
DOI
Venue
2017
10.1145/3079079.3079105
ICS
Field
DocType
Citations 
Counting sort,Computer science,Parallel computing,Radix sort,Insertion sort,Adaptive sort,Sorted array,Polyphase merge sort,Proxmap sort,Sorting algorithm
Conference
13
PageRank 
References 
Authors
0.60
33
4
Name
Order
Citations
PageRank
Kaixi Hou1855.85
Weifeng Liu2614.08
Hao Wang340224.64
Wu-chun Feng42812232.50