Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Dave_O_
Beginner
43 Views

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. 

0 Kudos
1 Reply
RafSchietekat
Black Belt
43 Views

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

(Added) Also see Parallel Stable Sort.