Shared-Memory Range-Tiled CDF Sort for Small-Range Integer Keys on GPUs

📅 2026-09-01
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
研究了GPU上小范围整数键的不稳定排序问题,提出并评估了Range-Tiled CDF排序方法,通过将值范围划分为适合共享内存的小区间来提高性能。
📝 Abstract
We study unstable integer sorting on GPUs for arrays whose elements lie in a known integer range. Focusing on counting-sort-based methods that determine the output interval of each value from its frequency and the prefix sums of the frequencies, we propose and evaluate Range-Tiled CDF sort (RT-CDF), which partitions the possible value range into small intervals, called tiles, that fit in shared memory. For each tile, RT-CDF constructs a histogram, computes its prefix sum as a local CDF, and directly generates the output array from the local CDF. We compare RT-CDF against three baselines: CUB DeviceRadixSort, whose processed bit range is restricted to $[0,\lceil\log_2 R\rceil)$ to exploit the known range size $R$; Ref-H-P sort; and an implementation based on the algorithm of Kolonias et al. Experiments on an NVIDIA GeForce RTX 4090 with range sizes from $R=2^7$ to $2^{18}$, input sizes from $n=10^6$ to $10^9$, and uniformly distributed, normally distributed, and all-equal inputs show that RT-CDF outperforms the baselines over a broad set of conditions for small to medium ranges, achieving a maximum speedup of 4.39 over the fastest baseline. For $R=2^{18}$, however, at least one baseline outperforms RT-CDF for every evaluated input size and input distribution, showing that the cost of histogram construction limits the applicability of RT-CDF to larger ranges.
Problem

Research questions and friction points this paper is trying to address.

unstable integer sorting
GPUs
known integer range
small-range integer keys
Innovation

Methods, ideas, or system contributions that make the work stand out.

Range-Tiled CDF sort
shared memory
histogram
local CDF
unstable integer sorting
🔎 Similar Papers
No similar papers found.
K
Kento Ando
Major in Applied Informatics, Graduate School of Science and Engineering, Hosei University
K
Kaito Takase
THIRD, Inc.
N
Noriyuki Fujimoto
Department of Core Informatics, Graduate School of Informatics, Osaka Metropolitan University
K
Koichi Wada
Information Media Education and Research Center, Hosei University