From cdc701cb50e5339c6a1a9eedcc3aaabed06bf571 Mon Sep 17 00:00:00 2001 From: bkoz Date: Sat, 16 Feb 2008 06:15:39 +0000 Subject: [PATCH] 2008-02-15 Benjamin Kosnik * include/parallel/types.h: Remove enum parallelism. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132364 138bc75d-0d04-0410-961f-82ee72b054a4 --- libstdc++-v3/ChangeLog | 4 +++ libstdc++-v3/include/parallel/types.h | 54 ----------------------------------- 2 files changed, 4 insertions(+), 54 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 05b5e7d..b9be543 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,4 +1,8 @@ 2008-02-15 Benjamin Kosnik + + * include/parallel/types.h: Remove enum parallelism. + +2008-02-15 Benjamin Kosnik * include/parallel/types.h: Move enum parallelism here. Use tr1/cstdint's int16_t, uint16_t, int32_t, uint32_t, int64_t, diff --git a/libstdc++-v3/include/parallel/types.h b/libstdc++-v3/include/parallel/types.h index 2f0e459..beac778 100644 --- a/libstdc++-v3/include/parallel/types.h +++ b/libstdc++-v3/include/parallel/types.h @@ -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; -- 2.7.4