Aidge CPU library
You can find in this folder the library that implements the CPU operators.
Those operators can be used on any machine with an Linux OS.
Installation
Dependencies
GCC
-
Make
/Ninja
CMake
-
Python
(optional, if you have no intend to use this library in python with pybind)
Aidge dependencies
aidge_core
Pip installation
pip install . -v
TIPS : Use environment variables to change compilation options :
AIDGE_INSTALL
: to set the installation folder. Defaults to /usr/local/lib. ⚠️ This path must be identical to aidge_core install path.AIDGE_PYTHON_BUILD_TYPE
: to set the compilation mode to Debug or ReleaseAIDGE_BUILD_GEN
: to set the build backend with
Standard C++ Compilation
You will need to compile first the Core library before compiling the CPU one. The makefile is designed to do it for you.
To only compile the CPU library, run
make cpu_only
To compile the CPU library + the associated unitary tests, run
make cpu_tests
To compile the CPU library with the python binding, run
make cpu_with_pybind
Important: this command can also be run with make
.
To compile the CPU library with the python binding + the associated unitary tests, run
make cpu_with_pybind_tests