Skip to content

Commit a324ff9

Browse files
committed
Allow chaining backends
1 parent 5adc2cf commit a324ff9

38 files changed

+1342
-2199
lines changed

libcxx/include/CMakeLists.txt

Lines changed: 5 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -72,22 +72,7 @@ set(files
7272
__algorithm/partition_point.h
7373
__algorithm/pop_heap.h
7474
__algorithm/prev_permutation.h
75-
__algorithm/pstl_any_all_none_of.h
76-
__algorithm/pstl_copy.h
77-
__algorithm/pstl_count.h
78-
__algorithm/pstl_equal.h
79-
__algorithm/pstl_fill.h
80-
__algorithm/pstl_find.h
81-
__algorithm/pstl_for_each.h
82-
__algorithm/pstl_generate.h
83-
__algorithm/pstl_is_partitioned.h
84-
__algorithm/pstl_merge.h
85-
__algorithm/pstl_move.h
86-
__algorithm/pstl_replace.h
87-
__algorithm/pstl_rotate_copy.h
88-
__algorithm/pstl_sort.h
89-
__algorithm/pstl_stable_sort.h
90-
__algorithm/pstl_transform.h
75+
__algorithm/pstl.h
9176
__algorithm/push_heap.h
9277
__algorithm/ranges_adjacent_find.h
9378
__algorithm/ranges_all_of.h
@@ -569,18 +554,19 @@ set(files
569554
__numeric/iota.h
570555
__numeric/midpoint.h
571556
__numeric/partial_sum.h
572-
__numeric/pstl_reduce.h
573-
__numeric/pstl_transform_reduce.h
557+
__numeric/pstl.h
574558
__numeric/reduce.h
575559
__numeric/saturation_arithmetic.h
576560
__numeric/transform_exclusive_scan.h
577561
__numeric/transform_inclusive_scan.h
578562
__numeric/transform_reduce.h
579563
__pstl/backend_fwd.h
564+
__pstl/backends/default.h
580565
__pstl/backends/libdispatch.h
581566
__pstl/backends/serial.h
582567
__pstl/backends/std_thread.h
583568
__pstl/configuration.h
569+
__pstl/configuration_fwd.h
584570
__pstl/cpu_algos/any_of.h
585571
__pstl/cpu_algos/cpu_traits.h
586572
__pstl/cpu_algos/fill.h
@@ -590,13 +576,7 @@ set(files
590576
__pstl/cpu_algos/stable_sort.h
591577
__pstl/cpu_algos/transform_reduce.h
592578
__pstl/cpu_algos/transform.h
593-
__pstl/defaults.h
594-
__pstl/defaults/find_if_family.h
595-
__pstl/defaults/for_each_family.h
596-
__pstl/defaults/merge_family.h
597-
__pstl/defaults/stable_sort_family.h
598-
__pstl/defaults/transform_family.h
599-
__pstl/defaults/transform_reduce_family.h
579+
__pstl/dispatch.h
600580
__pstl/run_backend.h
601581
__random/bernoulli_distribution.h
602582
__random/binomial_distribution.h

libcxx/include/__algorithm/pstl.h

Lines changed: 627 additions & 0 deletions
Large diffs are not rendered by default.

libcxx/include/__algorithm/pstl_any_all_none_of.h

Lines changed: 0 additions & 78 deletions
This file was deleted.

libcxx/include/__algorithm/pstl_copy.h

Lines changed: 0 additions & 70 deletions
This file was deleted.

libcxx/include/__algorithm/pstl_count.h

Lines changed: 0 additions & 65 deletions
This file was deleted.

libcxx/include/__algorithm/pstl_equal.h

Lines changed: 0 additions & 117 deletions
This file was deleted.

0 commit comments

Comments
 (0)