2010 · 18 citations · 16 references
ComputingComputer ScienceHigh-performance ComputingAlgorithmsParallel AlgorithmsParallel ComputingGraphics Processing Unit ArchitectureGraphics Processing Unit ComputingGraphics Processing UnitsParallel SortingSorting AlgorithmsVirtual MemoryExternal Parallel SortingExternal SortingGpu Parallel AlgorithmsLoad Balancing ModelsParallel External Merge SortParallel Sorting AlgorithmsSortingVirtual Memory Support
Sorting is a well-investigated topic in Computer Science in general and by now many efficient sorting algorithms for CPUs and GPUs have been developed. There is no swapping, paging, etc. available on GPUs to provide more virtual memory than physically available, thus if one wants to sort sequences that exceed GPU memory using the GPU the problem of external sorting arises. In this contribution we present a novel merge-based external sorting algorithm for one or more CUDA-enabled GPUs. We reduce the performance impact of memory transfers to and from the GPU by using an approach similar to regular samplesort and by overlapping memory transfers with GPU computation. We achieve a good utilization of GPUs and load balancing among them by carefully choosing the samples and the amount of GPU memory used for computation. We demonstrate the performance of our algorithm by extended testing. Using two GTX280 the implementation outperforms the fastest CPU sorting algorithms known to the authors.
16
Sorting networks and their applications
Kenneth E. Batcher · 1968 · 2.4K citations
Parallel Prefix Sum (Scan) with CUDA
Mark Harris · 2011 · 542 citations
Scan Primitives for GPU Computing
eScholarship (California Digital Library) · 2007 · 513 citations · Full text
Naga K. Govindaraju, Jim Gray, Ritesh Kumar et al. · 2006 · 422 citations