Skip to content

Commit ce94b49

Browse files
chris-durandsalkinium
authored andcommitted
Remove parallel algorithms
1 parent ad8931a commit ce94b49

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+0
-26653
lines changed

include/algorithm

-19
Original file line numberDiff line numberDiff line change
@@ -64,23 +64,4 @@
6464
# include <bits/ranges_algo.h>
6565
#endif
6666

67-
#if __cplusplus > 201402L
68-
// Parallel STL algorithms
69-
# if _PSTL_EXECUTION_POLICIES_DEFINED
70-
// If <execution> has already been included, pull in implementations
71-
# include <pstl/glue_algorithm_impl.h>
72-
# else
73-
// Otherwise just pull in forward declarations
74-
# include <pstl/glue_algorithm_defs.h>
75-
# define _PSTL_ALGORITHM_FORWARD_DECLARED 1
76-
# endif
77-
78-
// Feature test macro for parallel algorithms
79-
# define __cpp_lib_parallel_algorithm 201603L
80-
#endif // C++17
81-
82-
#ifdef _GLIBCXX_PARALLEL
83-
# include <parallel/algorithm>
84-
#endif
85-
8667
#endif /* _GLIBCXX_ALGORITHM */

include/bits/algorithmfwd.h

-4
Original file line numberDiff line numberDiff line change
@@ -959,9 +959,5 @@ _GLIBCXX_END_NAMESPACE_ALGO
959959
_GLIBCXX_END_NAMESPACE_VERSION
960960
} // namespace std
961961

962-
#ifdef _GLIBCXX_PARALLEL
963-
# include <parallel/algorithmfwd.h>
964-
#endif
965-
966962
#endif
967963

include/bits/stl_algobase.h

-7
Original file line numberDiff line numberDiff line change
@@ -2060,11 +2060,4 @@ _GLIBCXX_END_NAMESPACE_ALGO
20602060
_GLIBCXX_END_NAMESPACE_VERSION
20612061
} // namespace std
20622062

2063-
// NB: This file is included within many other C++ includes, as a way
2064-
// of getting the base algorithms. So, make sure that parallel bits
2065-
// come in too if requested.
2066-
#ifdef _GLIBCXX_PARALLEL
2067-
# include <parallel/algobase.h>
2068-
#endif
2069-
20702063
#endif

include/execution

-57
This file was deleted.

include/memory

-14
Original file line numberDiff line numberDiff line change
@@ -412,18 +412,4 @@ _GLIBCXX_END_NAMESPACE_VERSION
412412
} // namespace
413413
#endif // C++11
414414

415-
#if __cplusplus > 201402L
416-
// Parallel STL algorithms
417-
# if _PSTL_EXECUTION_POLICIES_DEFINED
418-
// If <execution> has already been included, pull in implementations
419-
# include <pstl/glue_memory_impl.h>
420-
# else
421-
// Otherwise just pull in forward declarations
422-
# include <pstl/glue_memory_defs.h>
423-
# endif
424-
425-
// Feature test macro for parallel algorithms
426-
# define __cpp_lib_parallel_algorithm 201603L
427-
#endif // C++17
428-
429415
#endif /* _GLIBCXX_MEMORY */

include/numeric

-16
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,6 @@
6262
#include <bits/stl_numeric.h>
6363
#include <ext/numeric_traits.h>
6464

65-
#ifdef _GLIBCXX_PARALLEL
66-
# include <parallel/numeric>
67-
#endif
68-
6965
/**
7066
* @defgroup numerics Numerics
7167
*
@@ -698,18 +694,6 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
698694
_GLIBCXX_END_NAMESPACE_VERSION
699695
} // namespace std
700696

701-
// Parallel STL algorithms
702-
# if _PSTL_EXECUTION_POLICIES_DEFINED
703-
// If <execution> has already been included, pull in implementations
704-
# include <pstl/glue_numeric_impl.h>
705-
# else
706-
// Otherwise just pull in forward declarations
707-
# include <pstl/glue_numeric_defs.h>
708-
# define _PSTL_NUMERIC_FORWARD_DECLARED 1
709-
# endif
710-
711-
// Feature test macro for parallel algorithms
712-
# define __cpp_lib_parallel_algorithm 201603L
713697
#endif // C++17
714698

715699
#endif /* _GLIBCXX_NUMERIC */

0 commit comments

Comments
 (0)