8.2.5 : Solving the performance problem
- 8.2.5.1) The reduction.h file
- 8.2.5.2) The reduction.cpp file
- 8.2.5.3) The main_reduction.cpp file
- 8.2.5.4) The CMakeLists.txt file
- 8.2.5.5) The compilation
- 8.2.5.6) The performances
We are going to create two files :
- reduction.h the header file of our reduction function.
- reduction.cpp the source file of our reduction function.