Presentation is loading. Please wait.

Presentation is loading. Please wait.

MCSTL: The Multi-Core Standard Template Library Xiaofan Liu 29.01.2008.

Similar presentations


Presentation on theme: "MCSTL: The Multi-Core Standard Template Library Xiaofan Liu 29.01.2008."— Presentation transcript:

1 MCSTL: The Multi-Core Standard Template Library Xiaofan Liu 29.01.2008

2 Introduction STL : Standard Template Library MCSTL:  Shared memory systems  Small inputs  Dynamic load balancing  The level of parallelism

3 Algorithms

4 Embarrassingly parallel Find Partition Sort

5 Algorithms Embarrassingly Parallel:  “Work stealing”  A user-tunable granularity

6 Algorithms Find:  m: the first matching element’s position  Size of blocks  m 0 m M

7 Algorithms Partition:  a blocked strategy  O(n/p+p) ‏ Sort:  Multiway Mergesort:  Load-Balanced Quicksort :

8 Software Engineering OpenMP 2.5 Using the MCSTL in a program Website: http://algo2.iti.uni-karlsruhe.de/singler/mcstl/

9 Experimental Result

10

11 Conclusion Already done Future work:  Implementation of worthwhile functions  Add dynamic load balancing to more functions  Configure it with right tuning parameters  Integrate it with the external memory library STXXL

12 Thank you~~


Download ppt "MCSTL: The Multi-Core Standard Template Library Xiaofan Liu 29.01.2008."

Similar presentations


Ads by Google