HIGH PERFORMANCE AND SCALABLE RADIX SORTING: A CASE STUDY OF IMPLEMENTING DYNAMIC PARALLELISM FOR GPU COMPUTING
The DOI matches its Crossref record; 27 of the 27 references it cites were found in a registry or an index.
Abstract
The need to rank and order data is pervasive, and many algorithms are fundamentally dependent upon sorting and partitioning operations. Prior to this work, GPU stream processors have been perceived as challenging targets for problems with dynamic and global data-dependences such as sorting. This paper presents: (1) a family of very efficient parallel algorithms for radix sorting; and (2) our allocation-oriented algorithmic design strategies that match the strengths of GPU processor architecture to this genre of dynamic parallelism. We demonstrate multiple factors of speedup (up to 3.8x) compared to state-of-the-art GPU sorting. We also reverse the performance differentials observed between GPU and multi/many-core CPU architectures by recent comparisons in the literature, including those with 32-core CPU-based accelerators. Our average sorting rates exceed 1B 32-bit keys/sec on a single GPU microprocessor. Our sorting passes are constructed from a very efficient parallel prefix scan "runtime" that incorporates three design features: (1) kernel fusion for locally generating and consuming prefix scan data; (2) multi-scan for performing multiple related, concurrent prefix scans (one for each partitioning bin); and (3) flexible algorithm serialization for avoiding unnecessary synchronization and communication within algorithmic phases, allowing us to construct a single implementation that scales well across all generations and configurations of programmable NVIDIA GPUs.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
(1994) · Cited by 21,711
The Art of Computer Programming
Knuth, D. E. (1968) · Cited by 16,320
Grossman, P. (2009) · Discrete Mathematics for Computing · doi:10.1007/978-0-230-37405-8_1 · Cited by 8,834
Owens, J. D., Houston, M., Luebke, D., Green, S., Stone, J. E., & Phillips, J. C. (2008) · Proceedings of the IEEE · doi:10.1109/jproc.2008.917757 · Cited by 1,495 · cited 2×
“Performance is significantly affected by irregular memory access patterns that cannot be coalesced or result in bank conflicts, by control flow divergences between SIMD warp threads that result in thread serialization, and by load imbalances between barrier synchronization points that result in resource underutilizati…”
BackgroundA Regular Layout for Parallel Adders
Brent, & Kung (1982) · IEEE Transactions on Computers · doi:10.1109/tc.1982.1675982 · Cited by 1,147 · cited 1×
“Parallel implementations of prefix scan typically follow the Brent-Kung family of prefix circuits [29].”
MethodOwens, J. D., Houston, M., Luebke, D. P., Green, S., Stone, J. E., & Phillips, J. C. (2008) · Proceedings of the IEEE · Cited by 1,085
Debunking the 100X GPU vs. CPU myth: an evaluation of throughput computing on CPU and GPU
Lee, V. W., Kim, C., Chhugani, J., Deisher, M., Kim, D., Nguyen, A. D., Satish, N., Smelyanskiy, M., Chennupaty, S., Hammarlund, P., et al. (2010) · Proceedings of the 37th annual international symposium on Computer architecture · doi:10.1145/1815961.1816021 · Cited by 640 · cited 1×
“The difficulties with problems like sorting are typically attributed to the global data dependences involved, an absence of efficient fine-grained hardware synchronization mechanisms, and a lack of writable, coherent caches to smooth over irregular memory access patterns [2,3].”
BackgroundDesigning efficient sorting algorithms for manycore GPUs
Satish, N., Harris, M., & Garland, M. (2009) · 2009 IEEE International Symposium on Parallel & Distributed Processing · doi:10.1109/ipdps.2009.5161005 · Cited by 571 · cited 6×
“Scatter keys to appropriate bin nr offsets + n keys n keys Total I/O for all k/d passes: (k/d) (5n(2) + 3n) GPU histogram-based distribution sort [5,7] Kernel Read I/O Workload Write I/O Workload 1.”
BackgroundMethodInfluentialScan Primitives for GPU Computing
Sengupta, S., Harris, M., Zhang, Y., & Owens, J. D. (2007) · eScholarship (California Digital Library) · doi:10.2312/eggh/eggh07/097-106 · Cited by 510 · cited 1×
“Prior GPU radix sort implementations use this approach, treating each threadblock as a logical processor operating over a fixed-size block of b keys [33,34,5].”
MethodReal-time KD-tree construction on graphics hardware
Zhou, K., Hou, Q., Wang, R., & Guo, B. (2008) · ACM Transactions on Graphics · doi:10.1145/1409060.1409079 · Cited by 499
Cited by
Accelerating the XGBoost algorithm using GPU computing
Mitchell, R., & Frank, E. (2017) · PeerJ Computer Science · doi:10.7717/peerj-cs.127 · Cited by 359
Parallel online spatial and temporal aggregations on multi-core CPUs and many-core GPUs
Zhang, J., You, S., & Gruenwald, L. (2014) · Information Systems · doi:10.1016/j.is.2014.01.005 · Cited by 27
Metadata
- Authors
- MERRILL, D., & GRIMSHAW, A.
- Venue
- Parallel Processing Letters
- Publisher
- World Scientific Pub Co Pte Lt
- Published
- 2011-06
- Volume
- 21
- Issue
- 02
- Pages
- 245-272
- ISSN
- 0129-6264 (ISSN-L)
- 1793-642X
- OpenAlex
- W2162707967
- Cited by
- 182
- References
- 27
- FWCI
- 28.25
- Type
- journal article
- Language
- en
- Open access
- closed
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.