gcc/libstdc++-v3/testsuite/25_algorithms
Thomas Rodgers 061f457868 Integrate C++17 parallel algorithms
This is the Intel implementation of the C++17 parallel
algorithms, which has been donated to both GCC and LLVM. The upstream
project is at -

	https://reviews.llvm.org/source/pstl/

The new files in the include/pstl sub-directory are covered by the
LICENSE.txt in that sub-directory, as are the tests in
testsuite/**/pstl/*

	* include/Makefile.am (std_header): Add ${std_srcdir}/execution.
	(pstl_srcdir, pstl_builddir, pstl_headers): New variables.
	(allstamped): Add stamp-pstl.
	(install-headers): Add ptsl_builddir.
	* include/Makefile.in: Regenerate.
	* include/bits/c++config: Add pstl configuration.
	* include/pstl/LICENSE.txt: New file.
	* include/pstl/algorithm_fwd.h: New file.
	* include/pstl/algorithm_impl.h: New file.
	* include/pstl/execution_defs.h: New file.
	* include/pstl/execution_impl.h: New file.
	* include/pstl/glue_algorithm_defs.h: New file.
	* include/pstl/glue_algorithm_impl.h: New file.
	* include/pstl/glue_execution_defs.h: New file.
	* include/pstl/glue_memory_defs.h: New file.
	* include/pstl/glue_memory_impl.h: New file.
	* include/pstl/glue_numeric_defs.h: New file.
	* include/pstl/glue_numeric_impl.h: New file.
	* include/pstl/memory_impl.h: New file.
	* include/pstl/numeric_fwd.h: New file.
	* include/pstl/numeric_impl.h: New file.
	* include/pstl/parallel_backend.h: New file.
	* include/pstl/parallel_backend_tbb.h: New file.
	* include/pstl/parallel_backend_utils.h: New file.
	* include/pstl/parallel_impl.h: New file.
	* include/pstl/pstl_config.h: New file.
	* include/pstl/unseq_backend_simd.h: New file.
	* include/pstl/utils.h: New file.
	* include/std/algorithm: Include parallel algorithm implementations.
	* include/std/execution: New file.
	* include/std/memory: Include parallel algorithm implementations.
	* include/std/numeric: Include parallel algorithm implementations.
	* include/std/version: Add parallel algorithms feature test macro.
	* testsuite/util/pstl/pstl_test_config.h: New file.
	* testsuite/util/pstl/test_utils.h: New file.
	* testsuite/20_util/specialized_algorithms/pstl/uninitialized_construct.cc: New file.
	* testsuite/20_util/specialized_algorithms/pstl/uninitialized_copy_move.cc: New file.
	* testsuite/20_util/specialized_algorithms/pstl/uninitialized_fill_destroy.cc: New file.
	* testsuite/25_algorithms/pstl/alg_merge/inplace_merge.cc: New file.
	* testsuite/25_algorithms/pstl/alg_merge/merge.cc: New file.
	* testsuite/25_algorithms/pstl/alg_modifying_operations/copy_if.cc: New file.
	* testsuite/25_algorithms/pstl/alg_modifying_operations/copy_move.cc: New file.
	* testsuite/25_algorithms/pstl/alg_modifying_operations/fill.cc: New file.
	* testsuite/25_algorithms/pstl/alg_modifying_operations/generate.cc: New file.
	* testsuite/25_algorithms/pstl/alg_modifying_operations/is_partitioned.cc: New file.
	* testsuite/25_algorithms/pstl/alg_modifying_operations/partition.cc: New file.
	* testsuite/25_algorithms/pstl/alg_modifying_operations/partition_copy.cc: New file.
	* testsuite/25_algorithms/pstl/alg_modifying_operations/remove.cc: New file.
	* testsuite/25_algorithms/pstl/alg_modifying_operations/remove_copy.cc: New file.
	* testsuite/25_algorithms/pstl/alg_modifying_operations/replace.cc: New file.
	* testsuite/25_algorithms/pstl/alg_modifying_operations/replace_copy.cc: New file.
	* testsuite/25_algorithms/pstl/alg_modifying_operations/rotate.cc: New file.
	* testsuite/25_algorithms/pstl/alg_modifying_operations/rotate_copy.cc: New file.
	* testsuite/25_algorithms/pstl/alg_modifying_operations/swap_ranges.cc: New file.
	* testsuite/25_algorithms/pstl/alg_modifying_operations/transform_binary.cc: New file.
	* testsuite/25_algorithms/pstl/alg_modifying_operations/transform_unary.cc: New file.
	* testsuite/25_algorithms/pstl/alg_modifying_operations/unique.cc: New file.
	* testsuite/25_algorithms/pstl/alg_modifying_operations/unique_copy_equal.cc: New file.
	* testsuite/25_algorithms/pstl/alg_nonmodifying/adjacent_find.cc: New file.
	* testsuite/25_algorithms/pstl/alg_nonmodifying/all_of.cc: New file.
	* testsuite/25_algorithms/pstl/alg_nonmodifying/any_of.cc: New file.
	* testsuite/25_algorithms/pstl/alg_nonmodifying/count.cc: New file.
	* testsuite/25_algorithms/pstl/alg_nonmodifying/equal.cc: New file.
	* testsuite/25_algorithms/pstl/alg_nonmodifying/find.cc: New file.
	* testsuite/25_algorithms/pstl/alg_nonmodifying/find_end.cc: New file.
	* testsuite/25_algorithms/pstl/alg_nonmodifying/find_first_of.cc: New file.
	* testsuite/25_algorithms/pstl/alg_nonmodifying/find_if.cc: New file.
	* testsuite/25_algorithms/pstl/alg_nonmodifying/for_each.cc: New file.
	* testsuite/25_algorithms/pstl/alg_nonmodifying/mismatch.cc: New file.
	* testsuite/25_algorithms/pstl/alg_nonmodifying/none_of.cc: New file.
	* testsuite/25_algorithms/pstl/alg_nonmodifying/nth_element.cc: New file.
	* testsuite/25_algorithms/pstl/alg_nonmodifying/reverse.cc: New file.
	* testsuite/25_algorithms/pstl/alg_nonmodifying/reverse_copy.cc: New file.
	* testsuite/25_algorithms/pstl/alg_nonmodifying/search_n.cc: New file.
	* testsuite/25_algorithms/pstl/alg_sorting/includes.cc: New file.
	* testsuite/25_algorithms/pstl/alg_sorting/is_heap.cc: New file.
	* testsuite/25_algorithms/pstl/alg_sorting/is_sorted.cc: New file.
	* testsuite/25_algorithms/pstl/alg_sorting/lexicographical_compare.cc: New file.
	* testsuite/25_algorithms/pstl/alg_sorting/minmax_element.cc: New file.
	* testsuite/25_algorithms/pstl/alg_sorting/partial_sort.cc: New file.
	* testsuite/25_algorithms/pstl/alg_sorting/partial_sort_copy.cc: New file.
	* testsuite/25_algorithms/pstl/alg_sorting/set.cc: New file.
	* testsuite/25_algorithms/pstl/alg_sorting/sort.cc: New file.
	* testsuite/26_numerics/pstl/numeric_ops/adjacent_difference.cc: New file.
	* testsuite/26_numerics/pstl/numeric_ops/reduce.cc: New file.
	* testsuite/26_numerics/pstl/numeric_ops/scan.cc: New file.
	* testsuite/26_numerics/pstl/numeric_ops/transform_reduce.cc: New file.
	* testsuite/26_numerics/pstl/numeric_ops/transform_scan.cc: New file.
	* testsuite/testsuite/20_util/specialized_algorithms/pstl/uninitialized_construct.cc: New file.
	* testsuite/testsuite/20_util/specialized_algorithms/pstl/uninitialized_copy_move.cc: New file.
	* testsuite/testsuite/20_util/specialized_algorithms/pstl/uninitialized_fill_destroy.cc: New file.
	* testsuite/testsuite/25_algorithms/pstl/alg_merge/inplace_merge.cc: New file.
	* testsuite/testsuite/25_algorithms/pstl/alg_merge/merge.cc: New file.
	* testsuite/testsuite/25_algorithms/pstl/alg_modifying_operations/copy_if.cc: New file.
	* testsuite/testsuite/25_algorithms/pstl/alg_modifying_operations/copy_move.cc: New file.
	* testsuite/testsuite/25_algorithms/pstl/alg_modifying_operations/fill.cc: New file.
	* testsuite/testsuite/25_algorithms/pstl/alg_modifying_operations/generate.cc: New file.
	* testsuite/testsuite/25_algorithms/pstl/alg_modifying_operations/is_partitioned.cc: New file.
	* testsuite/testsuite/25_algorithms/pstl/alg_modifying_operations/partition.cc: New file.
	* testsuite/testsuite/25_algorithms/pstl/alg_modifying_operations/partition_copy.cc: New file.
	* testsuite/testsuite/25_algorithms/pstl/alg_modifying_operations/remove.cc: New file.
	* testsuite/testsuite/25_algorithms/pstl/alg_modifying_operations/remove_copy.cc: New file.
	* testsuite/testsuite/25_algorithms/pstl/alg_modifying_operations/replace.cc: New file.
	* testsuite/testsuite/25_algorithms/pstl/alg_modifying_operations/replace_copy.cc: New file.
	* testsuite/testsuite/25_algorithms/pstl/alg_modifying_operations/rotate.cc: New file.
	* testsuite/testsuite/25_algorithms/pstl/alg_modifying_operations/rotate_copy.cc: New file.
	* testsuite/testsuite/25_algorithms/pstl/alg_modifying_operations/swap_ranges.cc: New file.
	* testsuite/testsuite/25_algorithms/pstl/alg_modifying_operations/transform_binary.cc: New file.
	* testsuite/testsuite/25_algorithms/pstl/alg_modifying_operations/transform_unary.cc: New file.
	* testsuite/testsuite/25_algorithms/pstl/alg_modifying_operations/unique.cc: New file.
	* testsuite/testsuite/25_algorithms/pstl/alg_modifying_operations/unique_copy_equal.cc: New file.
	* testsuite/testsuite/25_algorithms/pstl/alg_nonmodifying/adjacent_find.cc: New file.
	* testsuite/testsuite/25_algorithms/pstl/alg_nonmodifying/all_of.cc: New file.
	* testsuite/testsuite/25_algorithms/pstl/alg_nonmodifying/any_of.cc: New file.
	* testsuite/testsuite/25_algorithms/pstl/alg_nonmodifying/count.cc: New file.
	* testsuite/testsuite/25_algorithms/pstl/alg_nonmodifying/equal.cc: New file.
	* testsuite/testsuite/25_algorithms/pstl/alg_nonmodifying/find.cc: New file.
	* testsuite/testsuite/25_algorithms/pstl/alg_nonmodifying/find_end.cc: New file.
	* testsuite/testsuite/25_algorithms/pstl/alg_nonmodifying/find_first_of.cc: New file.
	* testsuite/testsuite/25_algorithms/pstl/alg_nonmodifying/find_if.cc: New file.
	* testsuite/testsuite/25_algorithms/pstl/alg_nonmodifying/for_each.cc: New file.
	* testsuite/testsuite/25_algorithms/pstl/alg_nonmodifying/mismatch.cc: New file.
	* testsuite/testsuite/25_algorithms/pstl/alg_nonmodifying/none_of.cc: New file.
	* testsuite/testsuite/25_algorithms/pstl/alg_nonmodifying/nth_element.cc: New file.
	* testsuite/testsuite/25_algorithms/pstl/alg_nonmodifying/reverse.cc: New file.
	* testsuite/testsuite/25_algorithms/pstl/alg_nonmodifying/reverse_copy.cc: New file.
	* testsuite/testsuite/25_algorithms/pstl/alg_nonmodifying/search_n.cc: New file.
	* testsuite/testsuite/25_algorithms/pstl/alg_sorting/includes.cc: New file.
	* testsuite/testsuite/25_algorithms/pstl/alg_sorting/is_heap.cc: New file.
	* testsuite/testsuite/25_algorithms/pstl/alg_sorting/is_sorted.cc: New file.
	* testsuite/testsuite/25_algorithms/pstl/alg_sorting/lexicographical_compare.cc: New file.
	* testsuite/testsuite/25_algorithms/pstl/alg_sorting/minmax_element.cc: New file.
	* testsuite/testsuite/25_algorithms/pstl/alg_sorting/partial_sort.cc: New file.
	* testsuite/testsuite/25_algorithms/pstl/alg_sorting/partial_sort_copy.cc: New file.
	* testsuite/testsuite/25_algorithms/pstl/alg_sorting/set.cc: New file.
	* testsuite/testsuite/25_algorithms/pstl/alg_sorting/sort.cc: New file.
	* testsuite/testsuite/26_numerics/pstl/numeric_ops/adjacent_difference.cc: New file.
	* testsuite/testsuite/26_numerics/pstl/numeric_ops/reduce.cc: New file.
	* testsuite/testsuite/26_numerics/pstl/numeric_ops/scan.cc: New file.
	* testsuite/testsuite/26_numerics/pstl/numeric_ops/transform_reduce.cc: New file.
	* testsuite/testsuite/26_numerics/pstl/numeric_ops/transform_scan.cc: New file.

From-SVN: r269863
2019-03-21 23:48:49 +00:00
..
adjacent_find Update copyright years. 2019-01-01 13:31:55 +01:00
advance/istreambuf_iterators Update copyright years. 2019-01-01 13:31:55 +01:00
all_of Update copyright years. 2019-01-01 13:31:55 +01:00
any_of Update copyright years. 2019-01-01 13:31:55 +01:00
binary_search Update copyright years. 2019-01-01 13:31:55 +01:00
clamp Update copyright years. 2019-01-01 13:31:55 +01:00
copy Update copyright years. 2019-01-01 13:31:55 +01:00
copy_backward Update copyright years. 2019-01-01 13:31:55 +01:00
copy_if Update copyright years. 2019-01-01 13:31:55 +01:00
copy_n Update copyright years. 2019-01-01 13:31:55 +01:00
count Update copyright years. 2019-01-01 13:31:55 +01:00
count_if Update copyright years. 2019-01-01 13:31:55 +01:00
equal Update copyright years. 2019-01-01 13:31:55 +01:00
equal_range Update copyright years. 2019-01-01 13:31:55 +01:00
fill Update copyright years. 2019-01-01 13:31:55 +01:00
fill_n Update copyright years. 2019-01-01 13:31:55 +01:00
find Update copyright years. 2019-01-01 13:31:55 +01:00
find_end Update copyright years. 2019-01-01 13:31:55 +01:00
find_first_of Update copyright years. 2019-01-01 13:31:55 +01:00
find_if Update copyright years. 2019-01-01 13:31:55 +01:00
find_if_not Update copyright years. 2019-01-01 13:31:55 +01:00
for_each Update copyright years. 2019-01-01 13:31:55 +01:00
generate/requirements/explicit_instantiation Update copyright years. 2019-01-01 13:31:55 +01:00
generate_n Update copyright years. 2019-01-01 13:31:55 +01:00
headers Update copyright years. 2019-01-01 13:31:55 +01:00
heap Update copyright years. 2019-01-01 13:31:55 +01:00
includes Update copyright years. 2019-01-01 13:31:55 +01:00
inplace_merge Update copyright years. 2019-01-01 13:31:55 +01:00
is_heap Update copyright years. 2019-01-01 13:31:55 +01:00
is_heap_until Update copyright years. 2019-01-01 13:31:55 +01:00
is_partitioned Update copyright years. 2019-01-01 13:31:55 +01:00
is_permutation Update copyright years. 2019-01-01 13:31:55 +01:00
is_sorted Update copyright years. 2019-01-01 13:31:55 +01:00
is_sorted_until Update copyright years. 2019-01-01 13:31:55 +01:00
iter_swap Update copyright years. 2019-01-01 13:31:55 +01:00
lexicographical_compare Update copyright years. 2019-01-01 13:31:55 +01:00
lower_bound Update copyright years. 2019-01-01 13:31:55 +01:00
make_heap Update copyright years. 2019-01-01 13:31:55 +01:00
max Update copyright years. 2019-01-01 13:31:55 +01:00
max_element Update copyright years. 2019-01-01 13:31:55 +01:00
merge Update copyright years. 2019-01-01 13:31:55 +01:00
min Update copyright years. 2019-01-01 13:31:55 +01:00
min_element Update copyright years. 2019-01-01 13:31:55 +01:00
minmax Update copyright years. 2019-01-01 13:31:55 +01:00
minmax_element Update copyright years. 2019-01-01 13:31:55 +01:00
mismatch Update copyright years. 2019-01-01 13:31:55 +01:00
move Update copyright years. 2019-01-01 13:31:55 +01:00
move_backward Update copyright years. 2019-01-01 13:31:55 +01:00
next_permutation Update copyright years. 2019-01-01 13:31:55 +01:00
none_of Update copyright years. 2019-01-01 13:31:55 +01:00
nth_element Update copyright years. 2019-01-01 13:31:55 +01:00
partial_sort Update copyright years. 2019-01-01 13:31:55 +01:00
partial_sort_copy Update copyright years. 2019-01-01 13:31:55 +01:00
partition Update copyright years. 2019-01-01 13:31:55 +01:00
partition_copy Update copyright years. 2019-01-01 13:31:55 +01:00
partition_point Update copyright years. 2019-01-01 13:31:55 +01:00
pop_heap Update copyright years. 2019-01-01 13:31:55 +01:00
prev_permutation Update copyright years. 2019-01-01 13:31:55 +01:00
pstl Integrate C++17 parallel algorithms 2019-03-21 23:48:49 +00:00
push_heap Update copyright years. 2019-01-01 13:31:55 +01:00
random_shuffle Update copyright years. 2019-01-01 13:31:55 +01:00
remove Update copyright years. 2019-01-01 13:31:55 +01:00
remove_copy/requirements/explicit_instantiation Update copyright years. 2019-01-01 13:31:55 +01:00
remove_copy_if Update copyright years. 2019-01-01 13:31:55 +01:00
remove_if Update copyright years. 2019-01-01 13:31:55 +01:00
replace Update copyright years. 2019-01-01 13:31:55 +01:00
replace_copy Update copyright years. 2019-01-01 13:31:55 +01:00
replace_copy_if Update copyright years. 2019-01-01 13:31:55 +01:00
replace_if Update copyright years. 2019-01-01 13:31:55 +01:00
reverse Update copyright years. 2019-01-01 13:31:55 +01:00
reverse_copy/explicit_instantiation Update copyright years. 2019-01-01 13:31:55 +01:00
rotate Update copyright years. 2019-01-01 13:31:55 +01:00
rotate_copy/requirements/explicit_instantiation Update copyright years. 2019-01-01 13:31:55 +01:00
sample Update copyright years. 2019-01-01 13:31:55 +01:00
search Update copyright years. 2019-01-01 13:31:55 +01:00
search_n Update copyright years. 2019-01-01 13:31:55 +01:00
set_difference Update copyright years. 2019-01-01 13:31:55 +01:00
set_intersection Update copyright years. 2019-01-01 13:31:55 +01:00
set_symmetric_difference Update copyright years. 2019-01-01 13:31:55 +01:00
set_union Update copyright years. 2019-01-01 13:31:55 +01:00
shuffle Update copyright years. 2019-01-01 13:31:55 +01:00
sort Update copyright years. 2019-01-01 13:31:55 +01:00
sort_heap Update copyright years. 2019-01-01 13:31:55 +01:00
stable_partition Update copyright years. 2019-01-01 13:31:55 +01:00
stable_sort Update copyright years. 2019-01-01 13:31:55 +01:00
swap Update copyright years. 2019-01-01 13:31:55 +01:00
swap_ranges Update copyright years. 2019-01-01 13:31:55 +01:00
transform/requirements/explicit_instantiation Update copyright years. 2019-01-01 13:31:55 +01:00
unique Update copyright years. 2019-01-01 13:31:55 +01:00
unique_copy Update copyright years. 2019-01-01 13:31:55 +01:00
upper_bound Update copyright years. 2019-01-01 13:31:55 +01:00