Commit 513aba6
Adding execution policy support to run_on_all
- Add missing cstddef header for std::size_t
- Fix lambda signature in run_on_all example
- Fix with_processing_units_count and callable issues in run_on_all
- Fix parameter pack and reduction helper issues in run_on_all
- Remove old predicates.hpp include and use new header path
- Remove old execution_parameters.hpp include
- Remove test files and configurations
- Fix test target configuration in CMakeLists.txt
- Fix CMake configuration for test executables
- Fix formatting in test files
- Add test files for run_on_all
- Remove old execution_parameters.hpp include
- Add missing license header, pragma once, and ensure file ends with newline
- Apply clang-format to run_on_all files
- Add missing functional include for std::reference_wrapper
- Add include_local to cpp-dependencies ignore list in CircleCI config
- Remove hpx_parallel_algorithms from module dependencies as it's not allowed for core module
- Add hpx_parallel_algorithms dependency to fix circular dependencies
- Fix circular dependencies by moving run_on_all implementation to experimental header
- Fix compilation issues:
- 1. Fix parameter pack expansion in vector declaration
- 2. Remove C++20 lambda template syntax
- 3. Add [[maybe_unused]] attributes
- 4. Update deprecated header include
- Fix CircleCI test failures: Fix copyright year, use HPX_MOVE/FORWARD consistently, improve reduction cleanup and initialization
- Fix CircleCI test failures in run_on_all implementation
- Remove redundant run_on_all overload with num_tasks, fix CI, and improve async reduction cleanup
- Fix run_on_all function signatures and apply clang-format
- Fix ambiguous calls, sign comparisons, and vector operations in run_on_all tests
- Fix static assertion error by adding proper execution policies
- Remove invalid async execution policy test from run_on_all
- Improve run_on_all implementation with proper return types and async support
- Revert 'Add test_minmax_element_semantics function to test behavior with repeated values'
- Update execution headers in run_on_all.hpp
- Add test_minmax_element_semantics function to test behavior with repeated values
- Fix run_on_all example to use proper execution policy
- Improve run_on_all implementation and tests
- Add comprehensive documentation
- Add static assertions for execution policies
- Improve code organization and comments
- Add proper error handling
- Improve reduction handling
- Add support for different execution policies
- Add proper cleanup mechanisms
- Add better scheduling hints
- Add comprehensive test cases
Signed-off-by: harith-hacky03 <harithhacky3@gmail.com>1 parent 24621cb commit 513aba6
File tree
5 files changed
+437
-59
lines changed- .circleci
- libs/core
- algorithms
- examples
- include/hpx/parallel
- tests/unit/block
- include_local/include/hpx/experimental
5 files changed
+437
-59
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| 132 | + | |
132 | 133 | | |
133 | 134 | | |
134 | 135 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| 40 | + | |
39 | 41 | | |
40 | | - | |
| 42 | + | |
41 | 43 | | |
42 | | - | |
43 | | - | |
| 44 | + | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
| |||
Lines changed: 157 additions & 45 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | 7 | | |
12 | 8 | | |
13 | 9 | | |
14 | | - | |
| 10 | + | |
| 11 | + | |
15 | 12 | | |
16 | | - | |
17 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
18 | 17 | | |
19 | | - | |
20 | | - | |
21 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
22 | 35 | | |
| 36 | + | |
23 | 37 | | |
| 38 | + | |
| 39 | + | |
24 | 40 | | |
| 41 | + | |
| 42 | + | |
25 | 43 | | |
26 | | - | |
| 44 | + | |
27 | 45 | | |
28 | | - | |
29 | | - | |
30 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
31 | 59 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
36 | 71 | | |
37 | 72 | | |
38 | 73 | | |
39 | | - | |
40 | | - | |
41 | | - | |
| 74 | + | |
| 75 | + | |
42 | 76 | | |
43 | | - | |
44 | | - | |
45 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
46 | 80 | | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
51 | 86 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
60 | 118 | | |
61 | 119 | | |
62 | | - | |
63 | | - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
64 | 131 | | |
65 | | - | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
66 | 138 | | |
67 | 139 | | |
68 | 140 | | |
| 141 | + | |
69 | 142 | | |
70 | 143 | | |
71 | 144 | | |
72 | 145 | | |
73 | 146 | | |
74 | 147 | | |
75 | 148 | | |
76 | | - | |
77 | | - | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
78 | 162 | | |
79 | 163 | | |
80 | | - | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
81 | 172 | | |
82 | | - | |
| 173 | + | |
| 174 | + | |
83 | 175 | | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
84 | 179 | | |
85 | 180 | | |
86 | | - | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
87 | 199 | | |
88 | | - | |
| 200 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
19 | 93 | | |
20 | 94 | | |
21 | 95 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
| 96 | + | |
| 97 | + | |
27 | 98 | | |
28 | 99 | | |
| 100 | + | |
29 | 101 | | |
30 | 102 | | |
31 | 103 | | |
32 | | - | |
33 | | - | |
| 104 | + | |
| 105 | + | |
34 | 106 | | |
35 | 107 | | |
36 | 108 | | |
37 | | - | |
38 | | - | |
| 109 | + | |
| 110 | + | |
39 | 111 | | |
40 | 112 | | |
41 | 113 | | |
| |||
0 commit comments