types.h: Remove enum parallelism.

2008-02-15  Benjamin Kosnik  <bkoz@redhat.com>
        
        * include/parallel/types.h: Remove enum parallelism.

From-SVN: r132364
This commit is contained in:
Benjamin Kosnik 2008-02-16 06:15:39 +00:00 committed by Benjamin Kosnik
parent 2a49e6f897
commit 257a545bc0
2 changed files with 4 additions and 54 deletions

View File

@ -1,3 +1,7 @@
2008-02-15 Benjamin Kosnik <bkoz@redhat.com>
* include/parallel/types.h: Remove enum parallelism.
2008-02-15 Benjamin Kosnik <bkoz@redhat.com>
* include/parallel/types.h: Move enum parallelism here. Use

View File

@ -70,60 +70,6 @@ namespace __gnu_parallel
inline bool
is_parallel(const parallelism __p) { return __p != sequential; }
/// @brief Sorting algorithms: multi-way mergesort, quicksort,
/// load-balanced quicksort.
enum SortAlgorithm
{
MWMS,
QS,
QS_BALANCED
};
/// @brief Merging algorithms: bubblesort-alike, loser-tree
/// variants, enum sentinel.
enum MultiwayMergeAlgorithm
{
BUBBLE,
LOSER_TREE_EXPLICIT,
LOSER_TREE,
LOSER_TREE_COMBINED,
LOSER_TREE_SENTINEL,
MWM_ALGORITHM_LAST
};
/// @brief Partial sum algorithms: recursive, linear.
enum PartialSumAlgorithm
{
RECURSIVE,
LINEAR
};
/// @brief Splitting strategies for sorting/merging: sampling, exact.
enum Splitting
{
SAMPLING,
EXACT
};
/// @brief Find distribution strategies: growing blocks, equal-sized
/// blocks, equal splitting.
enum FindDistribution
{
GROWING_BLOCKS,
CONSTANT_SIZE_BLOCKS,
EQUAL_SPLIT
};
/// @brief Strategies for run-time algorithm selection:
/// force_sequential, force_parallel, heuristic.
enum AlgorithmSelection
{
heuristic,
force_sequential,
force_parallel
};
/// Integer Types.
using std::tr1::int16_t;
using std::tr1::uint16_t;