Chapter 8.6 : How to create a reduction python module
- 8.6.1) The wrapper function
- 8.6.2) The C++ module file
- 8.6.3) The setup.py file
- 8.6.4) Peformances tests
- 8.6.5) The CMakeLists.txt file
- 8.6.6) Performances results
The creation of the reductionpython module will be very similar to the developement of the astericshpc module, but without a dependency to an other library.
We will use the kernel of the parent directory defined in the files :
- reduction_intrinsics_interleave8.h header file
- reduction_intrinsics_interleave8.cpp source file