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.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: aidge_backend_cpu-0.3.0-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 | 7b1952f57a161e93d1f083638092344177f41a08cd46e43e5741b8e1b3e89b7e |
|
MD5 | 8097e7c7eb6bed7856190ed46f8e2a32 |
|
BLAKE2b-256 | 84ccf187860339fd5aead444b03fd6375c66a7a29332277be3476919c415cb2d |
File details
Details for the file aidge_backend_cpu-0.3.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: aidge_backend_cpu-0.3.0-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 | 88da824720ac117974c8bffc1e43ee0ac8757fc93d11a4add4086913c3e0dae3 |
|
MD5 | 4f5b5b9bb8853d6cc2c4d6808afae340 |
|
BLAKE2b-256 | aba42918179b279a20544c57c7bbb26ae029322367ae3ef055450f7ecb88c0ff |
File details
Details for the file aidge_backend_cpu-0.3.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: aidge_backend_cpu-0.3.0-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 | c33b11ca05facfac3dec78c73a70c25b4304051bb9f420817c164e2254647ad3 |
|
MD5 | 4fbb3729a8d2d034d558b5266eb2a407 |
|
BLAKE2b-256 | 9e34f0bf5def586f3e28408b9a100d03d25763ccde75817aa8deda89982f24c6 |