CPU implementation of operators of the AIDGE framework
Project description
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.
[TOC]
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<python_prefix>/lib/libAidge
. :warning: This path must be identical to aidge_core install path.AIDGE_PYTHON_BUILD_TYPE
: to set the compilation mode to Debug or Release or "" (for default flags). Defaults to Release.AIDGE_BUILD_GEN
: to set the build backend (for development mode) or "" for the cmake default. Default to "".
Pip installation for development
To setup using pip in development (or editable mode), use the --no-build-isolation -e
options to pip.
For instance run the following command in your python environnement for a typical setup :
export AIDGE_PYTHON_BUILD_TYPE= # default flags (no debug info but fastest build time)
export AIDGE_PYTHON_BUILD_TYPE=Debug # or if one really need to debug the C++ code
pip install -U pip setuptools setuptools_scm[toml] cmake # Pre-install build requirements (refer to the pyproject.toml [build-system] section)
pip install -v --no-build-isolation -e .
Refer to aidge_core/README.md
for more details on development build options.
Standard C++ Compilation
You will need to compile and install the Core Library before compiling the CPU one.
Once this has been done, you'll need run CMake with the
CMAKE_INSTALL_PREFIX:PATH
flag, in order to indicate to CMake where
aidge_core
has been installed :
cmake -DCMAKE_INSTALL_PREFIX:PATH=$(path_to_install_folder) $(CMAKE PARAMETERS) $(projet_root)
make all
More detailed information is available in the Aidge User Guide
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
File details
Details for the file aidge_backend_cpu-0.3.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: aidge_backend_cpu-0.3.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48e87bd7653105eac27c77322419f667165db7284980904cf2a78974d83fcd06 |
|
MD5 | 605ef8ffa7d0d027a517bf9167b68990 |
|
BLAKE2b-256 | 76048857e10aedb4f2ad33f2fc79f5abeb9bc507a82d19d760f98fcd9991126f |
File details
Details for the file aidge_backend_cpu-0.3.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: aidge_backend_cpu-0.3.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b077b884be679dadb9a5cc7f132136e06fa1008b725ad3e203004338ee683efa |
|
MD5 | 6dde39d60b5ceac914e3cffa452484da |
|
BLAKE2b-256 | bc519d682fe37e1f66198ee548e2f13951a1cd8a27eca76a8d499bf7176b359f |
File details
Details for the file aidge_backend_cpu-0.3.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: aidge_backend_cpu-0.3.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c84277963bcd5ca085cb177ad248b2db3c8cd72067e44f49155f6381ffeba85 |
|
MD5 | 5168687d48ef28c41a3045fefd745ee9 |
|
BLAKE2b-256 | e5baf3b2384a85be9723be327631ca12837081823e0af3e746dd9e33971c4c9e |