On sorting and load balancing on GPUs
Authors:
Open Access
- 20 December 2008
- journal article
- Published by Association for Computing Machinery (ACM) in ACM SIGARCH Computer Architecture News
- Vol. 36 (5) , 11-18
Abstract
In this paper we take a look at GPU-Quicksort, an efficient Quicksort algorithm suitable for the highly parallel multi-core graphics processors. Quicksort had previously been considered an inefficient sorting solution for graphics processors, but GPU-Quicksort often performs better than the fastest known sorting implementations for graphics processors, such as radix and bitonic sort. Quicksort can thus be seen as a viable alternative for sorting large quantities of data on graphics processors. We also take look at a comparison of different load balancing schemes. To get maximum performance on the many-core graphics processors it is important to have an even balance of the workload so that all processing units contribute equally to the task at hand. This can be hard to achieve when the cost of a task is not known beforehand and when new sub-tasks are created dynamically during execution. With the recent advent of scatter operations and atomic hardware primitives it is now possible to bring some of the more elaborate dynamic load balancing schemes from the conventional SMP systems domain to the graphics processor domain.Keywords
This publication has 7 references indexed in Scilit:
- A Practical Quicksort Algorithm for Graphics Processors2008
- A simple, fast and scalable non-blocking concurrent FIFO queue for shared memory multiprocessor systems2001
- A Randomized Parallel Sorting Algorithm with an Experimental StudyJournal of Parallel and Distributed Computing, 1998
- Thread scheduling for multiprogrammed multiprocessors1998
- Mersenne twisterACM Transactions on Modeling and Computer Simulation, 1998
- Introspective Sorting and Selection AlgorithmsSoftware: Practice and Experience, 1997
- Automatic three‐dimensional mesh generation by the finite octree techniqueInternational Journal for Numerical Methods in Engineering, 1991