Was implemented 2 function written in C
programming
language to count non-negative
numbers.
The first is just trivial for-loop and the second uses SIMD.
They was packed in native Python
module and tested using unittest
from Python stdlib. Was done on the second semester of ITMO CSE Bachelor.
-
Intel intrinsics guide: https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html
-
VTune Profiler: https://www.intel.com/content/www/us/en/developer/tools/oneapi/vtune-profiler.html
gcc -Wall -I /usr/include/python3.8/ a.c -o a
python3 setup.py install