Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 936 Bytes

README.md

File metadata and controls

39 lines (25 loc) · 936 Bytes

FPA Optional Task

Descriptions

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.

SIMD diving in

Links

How to create an external c module for python

Links Guide

Compile c implementation

gcc -Wall -I /usr/include/python3.8/ a.c -o a

Add module to interpreter

python3 setup.py install