cpp_hpc_tutorial
cpp_hpc_tutorial copied to clipboard
C++ HPC Tutorial materials
* [ ] The usage of `char` in exercise 1 and 2 results in an overflow when trying large inputs ([here](https://github.com/gonzalobg/cpp_hpc_tutorial/blob/master/labs/lab1_select/solutions/exercise2.cpp#L39)). Exercise 3 does not have this issue because it...
This PR changes the way iterators are advanced to achieve up to 3x speedup when using cartesian product with `par` execution policy in `for_each`. The main idea is to keep...
This PR is based on https://github.com/gonzalobg/cpp_hpc_tutorial/pull/4 but it avoids accessing tuples by utilising static arrays. This brings some minor performance improvements.