From 2373a675929cd2244f20d0f563b7f36be502c545 Mon Sep 17 00:00:00 2001 From: Quentin Bourgerie Date: Tue, 22 Mar 2022 15:18:41 +0100 Subject: [PATCH] fix(python): Re-enable parallelize options after rebasing --- compiler/lib/Bindings/Python/concrete/compiler.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/compiler/lib/Bindings/Python/concrete/compiler.py b/compiler/lib/Bindings/Python/concrete/compiler.py index 5ea5fbfc0..8ecd7bb5c 100644 --- a/compiler/lib/Bindings/Python/concrete/compiler.py +++ b/compiler/lib/Bindings/Python/concrete/compiler.py @@ -138,6 +138,10 @@ class CompilerEngine: raise TypeError( "unsecure_key_set_cache_path must be a str" ) + options = CompilationOptions(func_name) + options.auto_parallelize(auto_parallelize) + options.loop_parallelize(loop_parallelize) + options.dataflow_parallelize(df_parallelize) self._compilation_result = self._engine.compile(mlir_str) self._client_parameters = self._engine.load_client_parameters( self._compilation_result)