Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
2449 Discussions

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

Dave_O_
Beginner
164 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
164 Views

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

(Added) Also see Parallel Stable Sort.

Reply