mirror of
https://github.com/zama-ai/concrete.git
synced 2026-05-09 03:00:34 -04:00
test(compiler): Add --input-compression to the end-to-end-test
This commit is contained in:
committed by
Quentin Bourgerie
parent
4d1d7bde7d
commit
fc10062b4b
@@ -67,8 +67,12 @@ parseEndToEndCommandLine(int argc, char **argv) {
|
||||
llvm::cl::desc(
|
||||
"Set the batchTFHEOps compilation options to run the tests"),
|
||||
llvm::cl::init(std::nullopt));
|
||||
llvm::cl::opt<bool> simulate(
|
||||
"simulate", llvm::cl::desc("Simulate the FHE execution"),
|
||||
llvm::cl::opt<bool> simulate("simulate",
|
||||
llvm::cl::desc("Simulate the FHE execution"),
|
||||
llvm::cl::init(false));
|
||||
llvm::cl::opt<bool> inputCompression(
|
||||
"input-compression",
|
||||
llvm::cl::desc("Enable the compression of input ciphertext"),
|
||||
llvm::cl::init(false));
|
||||
|
||||
// Optimizer options
|
||||
@@ -134,6 +138,7 @@ parseEndToEndCommandLine(int argc, char **argv) {
|
||||
if (batchTFHEOps.has_value())
|
||||
compilationOptions.batchTFHEOps = batchTFHEOps.getValue().value();
|
||||
compilationOptions.simulate = simulate.getValue();
|
||||
compilationOptions.compressInputs = inputCompression.getValue();
|
||||
compilationOptions.optimizerConfig.display = optimizerDisplay.getValue();
|
||||
compilationOptions.optimizerConfig.security = securityLevel.getValue();
|
||||
compilationOptions.optimizerConfig.strategy = optimizerStrategy.getValue();
|
||||
|
||||
Reference in New Issue
Block a user