Commit 44142ad
authored
Implemented parallel algorithms for C++17 on Windows and Linux (#17)
* fixed #ifdef INVOCABLE
* for_each_parallel
* map_parallel
* added TBB (Intel Thread Building Blocks) for linux
* added TBB linker flag for Linux
* changed CMakeLists for tbb again
* added filter_parallel
* added all_of, any_of, none_of (parallel versions)
* added sort and all variants in parallel
* build error in Linux
* fixed compiler flag for Windows, so that __cplusplus returns the correct value
* fixed Windows compilation for parallel algorithms
* replaced std::is_invocable_r<>::value with std::is_invocable_r_v
* more occurences of std::is_invocable_r<>::value
* documentation
* suppressed warnings in test for Windows
* fixed wrong preprocessor check for execution include1 parent a6caaf1 commit 44142ad
File tree
7 files changed
+445
-15
lines changed- .github/workflows
- include
- src
- tests
7 files changed
+445
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
| 161 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
32 | 36 | | |
33 | 37 | | |
34 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
0 commit comments