Presentation is loading. Please wait.

Presentation is loading. Please wait.

Indexing and Ranking MICROPROCESSOR SYSTEMS – MAXELER PROJECT AUTHOR: NIKOLA MAKSIMOVIC 545/12.

Similar presentations


Presentation on theme: "Indexing and Ranking MICROPROCESSOR SYSTEMS – MAXELER PROJECT AUTHOR: NIKOLA MAKSIMOVIC 545/12."— Presentation transcript:

1 Indexing and Ranking MICROPROCESSOR SYSTEMS – MAXELER PROJECT AUTHOR: NIKOLA MAKSIMOVIC 545/12

2 Indexing Sort without sorting? The concept of the key Indexing as an alternative sort Quicksort

3 Indexing – algorithm Additional array (one or more) The key Quicksort

4 Indexing – algorithm Initialization of an array with index values Additional array The key on which is the sort performed Execution of quicksort algorithm Quicksort An index array sorted in a certain order based on some other key value in relation to the original array Result

5 Ranking Indexing for indexing? Not exactly… Positions of elements of the original array in the index array Mostly created after the index array

6 Indexing and Ranking

7 Maxeler optimization

8 Indexing Quicksort as the only thing to optimize O(n log(n)) Quicksort must be inline implemented The size of the array does matter

9 Indexing Alternative sort algorithm? "Batcher's parallel method“ (Chapter 3 of “The Art of Computer Programming“ - Donald Knuth) More compatible to hardware than Quicksort Very suitable for indexing

10 Ranking With index array Without index array Single for-loop

11 Overall impression “What - to” or “What not - to”? The size of the array The number of operations irrelevant Hard to get any noticeable optimizations

12 Reference MILUTINOVIC, V., SALOM, J., TRIFUNOVIC, N., GIORGI, R., “GUIDE TO DATAFLOW SUPERCOMPUTING,” SPRINGER, 2015. MILUTINOVIC, V., EDITOR, “ADVANCES IN COMPUTERS: DATAFLOW,” ELSEVIER, 2015. HURSON, A., MILUTINOVIC, V., EDITORS, "DATAFLOW PROCESSING," ELSEVIER, 2015. KNUTH, D., “THE ART OF COMPUTER PROGRAMMING,” ADDISON-WESLEY, 1968. MILUTINOVIC, V. ET AL, “ PARADIGM SHIFT IN SUPERCOMPUTING: DATAFLOW VS CONTROLFLOW, ” JOURNAL OF BIG DATA, 2015.

13


Download ppt "Indexing and Ranking MICROPROCESSOR SYSTEMS – MAXELER PROJECT AUTHOR: NIKOLA MAKSIMOVIC 545/12."

Similar presentations


Ads by Google