Ticket #4093 (closed enhancement: fixed)

Opened 7 years ago

Last modified 7 years ago

Add sort() to algorithm.hpp to be the main parallel sort function

Reported by: gemacke Owned by: gemacke
Priority: high Milestone: 1.1
Version: 1.0 Severity: normal
Keywords: Cc:

Description

It would be much easier to have a single sorting function that called the best available parallel sort depending on which parallel environment we are in. In the interest of trying to match the STL, we will add the function sort() to algorithm.hpp. This will call either the XMT, OpenMP, or Qthreads sort depending on which environment you are compiling for.

Note that this will be the best available comparison sort. There are other sorting algorithms that are faster in special circumstances such as counting sort.

Change History

comment:1 Changed 7 years ago by gemacke

  • Status changed from new to accepted

comment:2 Changed 7 years ago by gemacke

  • Status changed from accepted to closed
  • Resolution set to fixed

Addressed in r3591.

Note: See TracTickets for help on using tickets.