To build compiler,
git clone --recursive git@github.com:ainozaki/PolyFHE.git
cd PolyFHE
cmake -S . -B build
cmake --build build -j $(nproc)
To install python interface,
uv add --editable ./ --dev
To build and run example,
# Optimized memory access
./example/ckks_HMult/build.sh opt
# No optimized memory access (Baseline)
./example/ckks_HMult/build.sh noopt
- Boost C++ Libraries
PolyFHE is licensed under the GPLv3 license. For the full license text, please refer to the LICENSE file. This project includes modified code from the following third-party projects:
In accordance with the terms of these licenses, all derivative code is distributed under GPLv3.
nvcc -o ./build/bench build/generated.cu polyfhe/kernel/device_context.cu polyfhe/kernel/polynomial.cu -g -std=c++17 -O2 -I./ --relocatable-device-code true
PYTHONPATH=./build uv run ./example/simple_poly_add/example.py