Download presentation
Presentation is loading. Please wait.
Published byCharla Richards Modified over 8 years ago
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.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.