mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 12:15:09 -05:00
The new option --acion=dump-hlfhe-manp invokes the Minimal Arithmetic Noise Padding Analysis pass based on the squared 2-norm metric from `lib/Dialect/HLFHE/Analysis/MANP.cpp` and dumps the module afterwards with an extra attribute `MANP` for each HLFHE operation.
30 lines
492 B
CMake
30 lines
492 B
CMake
add_mlir_library(ZamalangSupport
|
|
Pipeline.cpp
|
|
Jit.cpp
|
|
CompilerEngine.cpp
|
|
V0Parameters.cpp
|
|
V0Curves.cpp
|
|
ClientParameters.cpp
|
|
KeySet.cpp
|
|
logging.cpp
|
|
Jit.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${PROJECT_SOURCE_DIR}/include/zamalang/Support
|
|
|
|
DEPENDS
|
|
MLIRConversionPassIncGen
|
|
|
|
LINK_LIBS PUBLIC
|
|
HLFHETensorOpsToLinalg
|
|
HLFHEToMidLFHE
|
|
LowLFHEUnparametrize
|
|
MLIRLowerableDialectsToLLVM
|
|
HLFHEDialectAnalysis
|
|
|
|
MLIRExecutionEngine
|
|
${LLVM_PTHREAD_LIB}
|
|
|
|
ZamalangRuntime
|
|
)
|