| 40 | // ---------------------------------------------------------------------------------------- |
| 41 | |
| 42 | int main() |
| 43 | { |
| 44 | // We have 2 examples, each contained in a separate function. Both examples perform |
| 45 | // exactly the same computation, however, the second does so using parallel for loops. |
| 46 | // The first example is here to show you what we are doing in terms of classical |
| 47 | // non-parallel for loops. The other example will illustrate how to parallelize the |
| 48 | // for loops in C++11. |
| 49 | |
| 50 | example_using_regular_non_parallel_loops(); |
| 51 | example_using_lambda_functions(); |
| 52 | } |
| 53 | |
| 54 | // ---------------------------------------------------------------------------------------- |
| 55 |
nothing calls this directly
no test coverage detected