ePrints.FRI - University of Ljubljana, Faculty of Computer and Information Science

Comparison of parallel sorting algorithms

Darko Božidar (2015) Comparison of parallel sorting algorithms. MSc thesis.

[img]
Preview
PDF
Download (4Mb)

    Abstract

    In this master's thesis we studied, implemented and compared sequential and parallel sorting algorithms. We implemented seven algorithms: bitonic sort, multistep bitonic sort, adaptive bitonic sort, merge sort, quicksort, radix sort and sample sort. Sequential algorithms were implemented on a central processing unit using C++, whereas parallel algorithms were implemented on a graphics processing unit using CUDA architecture. We improved the above mentioned implementations and adopted them to be able to sort input sequences of arbitrary length. We compared algorithms on six different input distributions, which consist of 32-bit numbers, 32-bit key-value pairs, 64-bit numbers and 64-bit key-value pairs. The results show that radix sort is the fastest sequential sorting algorithm, whereas radix sort and merge sort are the fastest parallel algorithms (depending on the input distribution). With parallel implementations we achieved speedups of up to 157-times in comparison to sequential implementations.

    Item Type: Thesis (MSc thesis)
    Keywords: parallel algorithms, algorithm comparison, sorting, graphics card, CUDA
    Number of Pages: 137
    Language of Content: Slovenian
    Mentor / Comentors:
    Name and SurnameIDFunction
    doc. dr. Tomaž Dobravec258Mentor
    Link to COBISS: http://www.cobiss.si/scripts/cobiss?command=search&base=51012&select=(ID=1536400067)
    Institution: University of Ljubljana
    Department: Faculty of Computer and Information Science
    Item ID: 3007
    Date Deposited: 02 Jul 2015 12:45
    Last Modified: 13 Aug 2015 08:57
    URI: http://eprints.fri.uni-lj.si/id/eprint/3007

    Actions (login required)

    View Item