Parallel_sort: is it Quicksort, Mergesort, Heapsort? How about thread number?

Parallel_sort: is it Quicksort, Mergesort, Heapsort? How about thread number?

Hi

Quick question: what is the exact sorting algoirthm adopted by Parallel_sort found in TBB? 

Is it:Quicksort, Mergesort, Heapsort or some combination?

How can I specify which algorithm to use by the function, as well as the number of threads to use (if possible)?

Thank you. 

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Quicksort, not configurable, use separate application thread with task_scheduler_init.

(Added) Also see Parallel Stable Sort.

Leave a Comment

Please sign in to add a comment. Not a member? Join today