mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 20:25:34 -05:00
enhance(compiler/lowlfhe): Give the runtime context as function argument instead of a global variable (close #195)
This commit is contained in:
@@ -70,6 +70,7 @@ MLIRLowerableDialectsToLLVMPass::convertTypes(mlir::Type type) {
|
||||
type.isa<mlir::zamalang::LowLFHE::GlweCiphertextType>() ||
|
||||
type.isa<mlir::zamalang::LowLFHE::LweKeySwitchKeyType>() ||
|
||||
type.isa<mlir::zamalang::LowLFHE::LweBootstrapKeyType>() ||
|
||||
type.isa<mlir::zamalang::LowLFHE::ContextType>() ||
|
||||
type.isa<mlir::zamalang::LowLFHE::ForeignPlaintextListType>() ||
|
||||
type.isa<mlir::zamalang::LowLFHE::PlaintextListType>()) {
|
||||
return mlir::LLVM::LLVMPointerType::get(
|
||||
|
||||
Reference in New Issue
Block a user