Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

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

Dave_O_
Beginner
114 Views

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
114 Views

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

(Added) Also see Parallel Stable Sort.

Reply