Commit Graph

418 Commits

Author SHA1 Message Date
Quentin Bourgerie
b950a0010d chore(compiler/test): Move some test to end-to-end-jit-fhe 2022-02-17 15:53:23 +01:00
Umut
20a89b7b42 feat: implement concat operation 2022-02-15 16:52:07 +03:00
rudy
d41a7f0b68 fix(doc): doc generation segfaults
Doing the doc generation with more up to date version works.
2022-02-14 14:22:30 +01:00
Umut
a1818a3fd9 feat: implement advanced sum operation 2022-02-08 17:49:58 +03:00
Antoniu Pop
dddad849c7 enhance(compiler): add --parallelize-loops and --parallelize-dataflow compile flags in addition to --parallelize which enables both. 2022-02-03 10:59:12 +00:00
Antoniu Pop
35e6966f95 enhance(dfr/runtime): throttle the number of HPX worker threads when using OpenMP for loop parallelism within tasks. 2022-02-03 10:59:12 +00:00
Antoniu Pop
ec633d57f6 fix(compiler): predicate OpenMP loop parallelization of Linalg on the --parallelize flag. 2022-02-03 10:59:12 +00:00
Quentin Bourgerie
f52965e22f enhance(compiler): Lower linalg to parallel loops and instantiare parallel loops with openmp 2022-02-03 10:59:12 +00:00
Antoniu Pop
260768e9af enhance(dfr): use linker wrapping of main in addition to start/stop; enable DFR+OpenMP. 2022-02-03 10:59:12 +00:00
Umut
4203e86998 feat: implement basic sum operation 2022-02-01 12:18:56 +03:00
Umut
a7c63a5494 fix: get rid of documentation mistakes and styling inconsistencies in FHELinalgOps.td 2022-02-01 12:18:56 +03:00
youben11
afd5972a13 fix: use correct token and quote passwords 2022-01-25 17:52:51 +01:00
youben11
d54339c06d ci: add workflow to push python packages 2022-01-25 16:43:44 +01:00
youben11
6d3af7fcda chore: add installation targets in Makefile
MacOS require a way to find the runtime library when trying to build a
shared library at runtime, so we add a way to install it globally for
testing
2022-01-24 17:02:25 +00:00
youben11
71cccc6a89 fix(mac): add options for required libraries 2022-01-24 17:02:25 +00:00
youben11
ff73d09f65 ci: use AppleClang for MacOS build 2022-01-24 17:02:25 +00:00
youben11
faa0abea3e fix: use appropriate cmd for dynamic lib generation
macos and linux require a different cmd
2022-01-24 17:02:25 +00:00
youben11
b8cfaeb3f4 fix: ignore narrowing errors on Mac 2022-01-24 17:02:25 +00:00
youben11
2926ea6a5e fix: use appropriate type for optimizingTransformer func
the call does return an `std::function` and was being referenced using
an `llvm::function_ref`, which apparently with some optim on Mac was
referncing bad memory location
2022-01-24 17:02:25 +00:00
Umut
8198a79deb feat: introduce maximum bit width constant, use it where appropriate, export it in python bindings 2022-01-24 17:26:37 +03:00
youben11
05ebbb1029 ci: use gcc7.5 in linux release builds 2022-01-19 21:49:47 +00:00
Antoniu Pop
87994d000e ci(perf) : build gcc7.5 in separate image. 2022-01-19 21:49:47 +00:00
Antoniu Pop
25116ec979 ci/release: upgrade python packages release image to gcc-7.5.0 2022-01-19 21:49:47 +00:00
Mayeul@Zama
8847e82203 fix(doc): build mlir docs earlier 2022-01-17 16:26:06 +01:00
youben11
2d0e9b1647 fix(docs): update doc version based on tag 2022-01-17 13:24:33 +00:00
Mayeul@Zama
c33daaf0c8 fix(doc): exit if broken link detected 2022-01-17 13:24:33 +00:00
youben11
cbdadef9fb chore: automatic link creation following python package structure
we want to automatically create links to python file in case there is
some changes to the package. We still need to do link creation for
dialect files manually.
2022-01-17 13:24:33 +00:00
Quentin Bourgerie
f1db1755b9 fix(doc): Fixing default url of the documentation 2022-01-17 13:24:33 +00:00
youben11
810f1ee9a3 fix: python api docs was using old package naming 2022-01-17 13:24:33 +00:00
Andi Drebes
8d7cbbb934 fix(CI): Install pytest for job BuildAndTestMacOS
The CI job `BuildAndTestMacOS` currently fails due to an unsatisfied
dependency to `pytest`. Install `pytest` via `pip3`.
2022-01-11 14:30:12 +01:00
Andi Drebes
7fdeb61aa8 fix(compiler): Handle size_t explicitly in JITLambdaArgumentAdaptor::addArgument
On some systems, size_t does not alias any of the fixed-size, unsigned
integer types and therefore needs to be treated explicitly in
`JITLambdaArgumentAdaptor::addArgument` to prevent the function from
failing with an unknown argument type.

Closes issue #369: Bug: MacOS tests failing on master due to
IntLambdaArgument<size_t>.
2022-01-10 16:57:37 +01:00
Andi Drebes
2d852165f6 fix(compiler): Make arrays passed to llvm::MutableArrayRef mutable 2022-01-07 12:03:13 +01:00
Andi Drebes
39b80bd5b2 fix(compiler): Remove unused variables in TFHEGlobalParametrization.cpp 2022-01-07 12:03:13 +01:00
Andi Drebes
7062052ca6 fix(compiler): Remove unused variables in lib/Dialect/TFHE/IR/TFHEOps.cpp 2022-01-07 12:03:13 +01:00
Andi Drebes
ce9d86014d fix(compiler): Force same signedness of integers in _verifyGLWEIntegerOperator 2022-01-07 12:03:13 +01:00
Andi Drebes
d83a462e20 fix(compiler): Fix initialization order in constructor of MaxMANPPass 2022-01-07 12:03:13 +01:00
Andi Drebes
0b73586178 fix(compiler): Fix initialization order in constructor of MANPAnalysis 2022-01-07 12:03:13 +01:00
Andi Drebes
258480dab6 fix(compiler): Remove unused variable in lib/Dialect/FHE/Analysis/MANP.cpp 2022-01-07 12:03:13 +01:00
Andi Drebes
94f160eef1 fix(compiler): Remove unused variables in lib/Dialect/FHE/IR/FHEOps.cpp 2022-01-07 12:03:13 +01:00
Andi Drebes
498505c2f8 fix(compiler): Remove unused variable err in lib/ClientLib/KeySet.cpp 2022-01-07 12:03:13 +01:00
Andi Drebes
0284e06016 fix(compiler): Remove unused variable err in lib/Runtime/context.cpp 2022-01-07 12:03:13 +01:00
youben11
81a89f2350 chore: update repo url for python package 2022-01-07 12:02:06 +01:00
youben11
d0d6237aaa chore: update package metadata
specify license
update package long description
2022-01-07 11:20:32 +01:00
Quentin Bourgerie
86b942a444 chore(doc): Build doc and publish doc on master and tags 2022-01-06 18:07:19 +01:00
Quentin Bourgerie
4ecae140ca doc(compiler): Enhance FHE Dialect documentation 2022-01-06 18:07:19 +01:00
youben11
fcf5ee05d5 chore: rename docker images
use concrete-compiler instead of concretefhe-compiler
2022-01-06 12:40:10 +01:00
youben11
d96d2506ee fix: remove org name in release api URL
org name is already part of github.repository
2022-01-06 12:40:10 +01:00
youben11
8ccfd8b634 chore: clean useless files 2022-01-06 12:40:10 +01:00
youben11
2009ee1c94 chore: changing ref to repo after its renaming
also formatting and update the check_license script to match that
2022-01-06 12:40:10 +01:00
rudy
58e02fd035 feat(Testlib): lib for testing libs generated by concretecompiler
Closes #201
2022-01-05 09:29:57 +01:00