tmontaigu
ddf905b4db
chore(rust): impl std::error::Error for CompilerError
...
All types which are errors should impl
the std::error::Error trait.
So that for example they could be put inside
a `Box<dyn std::error::Error>`.
2023-01-18 09:55:47 +01:00
youben11
95d49f4657
feat: add boolean types/ops in FHE dialect
2023-01-18 09:13:26 +01:00
tmontaigu
7c19da974a
chore(rust): remove 'get_' prefix from getters
...
In rust the convention/guideline for getters is not to prefix them with `get_`.
This commit changes any `get_` getter function to follow that guideline.
See the API Guidelines: https://rust-lang.github.io/api-guidelines/naming.html?highlight=getter#getter-names-follow-rust-convention-c-getter
2023-01-17 15:24:59 +01:00
tmontaigu
e1171cf55f
chore(rust): mark BufferRef::new as unsafe
2023-01-17 15:24:52 +01:00
David Testé
bc58e25d2a
chore(ci): trigger prepare release workflow on version tag push
...
The CI don't wait anymore on other builds to trigger release
preparation workflow. It's up to the team to be sure that builds
are passing before pushing a new version tag on default branch.
In addition build workflows will run only when there is push on
default branch. Nothing will happend when a version tag is pushed
now.
2023-01-16 17:21:18 +01:00
tmontaigu
6f0fbc8a3d
feat(rust): add from_tensor_[u32|u16]
2023-01-15 22:57:31 +01:00
tmontaigu
c9f3983577
fix(rust): serialize functions take self by ref
2023-01-14 11:45:58 +01:00
tmontaigu
6348eda50e
fix(rust): properly give an array of location to mlirBlockCreate
...
The MlirBlock constructor expects one location per input argument
of the block.
2023-01-13 20:18:06 +01:00
tmontaigu
d188cfae54
fix(rust): change tinfo linking to ncurses
...
- tinfo is a part of the ncurses project.
- tinfo does not seem easily installable stand alone
(no brew install tinfo, no dnf install tinfo-devel, etc)
but installing ncurses is possible and generally makes tinfo
'findable'
- on macos (M1 mac) it seems that even with ncurses installed
tinfo is not found, but linking to ncurses fixes the problem
2023-01-13 19:32:50 +01:00
David Testé
2fe402f55e
chore(ci): build docker images on aws ec2 to speed up process
2023-01-13 15:31:15 +01:00
David Testé
be45125ef8
chore(ci): remove steps related to keysetcache in aws builds
2023-01-13 14:58:16 +01:00
tmontaigu
237c7eee9b
fix: remove unused but set variable
2023-01-13 13:05:22 +01:00
youben11
73a8e57fae
fix(dockerfile): use ecdsa instead of rsa
2023-01-13 11:43:05 +01:00
youben11
f6edcd28e9
ci: release linux python wheels with cuda support
2023-01-13 11:43:05 +01:00
David Testé
fd2ce968ea
chore(ci): move doc publishing to aws build for cpu
...
This is done to handle downloading of documentation artifacts.
Doing this between separate workflow is troublesome especially when
you have to wait on serveral of them.
2023-01-13 10:14:58 +01:00
youben11
9c370e1cec
ci: fix macos release tarball
2023-01-12 17:56:53 +01:00
rudy
456e1952f5
fix: not private side effect in woppbs wrapper
...
Fix #865
2023-01-12 17:15:26 +01:00
David Testé
bf127e0846
chore(ci): move docker images publishing to its own workflow
...
This removes the old continuous-integration.yml file. Thus it
finalizes the splitting operation.
2023-01-12 14:43:08 +01:00
David Testé
af265206a9
chore(ci): move macos build and release jobs to their own workflow
2023-01-12 14:43:08 +01:00
David Testé
8a41b39f5e
chore(ci): wait on all aws builds before publishing documentation
2023-01-12 13:24:15 +01:00
David Testé
2aab1439b2
chore(ci): fix aws build triggering on pull request event
...
When a PR was opened, thus for the first commits push, aws builds
weren't triggered. The workflow was only executed when commits were
pushed once again (synchronize event).
2023-01-12 10:52:00 +01:00
David Testé
140330f412
chore(ci): move doc publishing to its own workflow
...
Now this workflow would only be triggered on default branch once
the AWS build for CPU is completed. If the AWS workflows conclusion is
a success then the doc will be published.
2023-01-12 10:52:00 +01:00
David Testé
3ede5642d8
chore(ci): separate cpu and gpu aws builds
...
This is done to be able to wait on the result on their runs without
trigger workflow waiting on them (via workflow_run event) twice.
2023-01-12 10:52:00 +01:00
David Testé
f2dd9879b4
chore(ci): move doc publishing to its own workflow
...
This workflow depend on the execution of aws_build.yml when
executed on default branch.
2023-01-12 10:52:00 +01:00
David Testé
d307d438c5
chore(ci): move block pr merge to its own workflow
2023-01-12 10:52:00 +01:00
David Testé
a0abd67455
chore(ci): trigger aws builds on push on main
2023-01-12 10:52:00 +01:00
David Testé
03fb3ca49b
chore(ci): move format and linting jobs to their own workflow
...
This is done to declutter the main workflow continuous-integration.yml.
2023-01-12 10:52:00 +01:00
David Testé
94df9ee21d
chore(ci): remove legacy linux build and test job
2023-01-11 17:39:05 +01:00
Quentin Bourgerie
ca83b129b9
chore(ci): fix gpu build on aws using docker
2023-01-11 17:39:05 +01:00
David Testé
be2a377aaf
chore(ci): automaticaly trigger aws build on commit push in pr
2023-01-11 17:39:05 +01:00
David Testé
ea5000aecb
chore(ci) fix build on aws ec2
...
Use the right make rule target for testing the GPU and CPU.
2023-01-11 17:39:05 +01:00
youben11
91d41a2ff8
fix: add call to init dfr from python
...
Co-authored-by: Antoniu Pop <antoniu.pop@zama.ai >
2023-01-11 14:45:14 +01:00
tmontaigu
add68ccf84
fix(Makefile): update install target to work on macOS
2023-01-10 18:05:46 +01:00
rudy
5797d73683
fix(ci): docker build, use --ssh instead of -v
2023-01-06 17:00:17 +01:00
rudy
7bcb3377fa
fix(ci): docker build, no ssh forward for hpx and cuda
2023-01-06 17:00:17 +01:00
rudy
3c8c1819a8
fix(ci): rebuild docker image when workflow file is updated
2023-01-06 17:00:17 +01:00
rudy
d1cf650817
fix: overflow on high log norm2
2023-01-05 11:24:38 +01:00
rudy
bea7c6c1f6
fix: force a test to native encoding
2023-01-04 17:41:49 +01:00
rudy
80818bfc5d
feat: use optimized private packing keyswitch
2023-01-04 17:41:49 +01:00
Quentin Bourgerie
55ea6f8e1b
chore(ci): Include cuda toolkit in concrete compiler env
2023-01-03 15:45:10 +01:00
youben11
8c6a0859cd
refactor(rust): add Rust wrapper for every CStruct
...
we want to wrap CStructs in RustStructs to own them, and free memeory
when they are no longer used. Users won't have to deal with the direct
binded CAPI, but the new wrappers
2023-01-02 12:10:14 +01:00
Antoniu Pop
aa2e0479b3
feat(compiler): add a parallel loop coalescing pass.
2023-01-02 12:04:34 +01:00
Quentin Bourgerie
4e53b83045
test: Report bug 846 introduced by loop coalesce
2023-01-02 12:04:34 +01:00
rudy
e17bbcbab5
fix: macos compiling issue with extra ;
2022-12-22 20:08:28 +01:00
rudy
a2c6763d80
fix: make all builds rust-bindings
2022-12-22 20:08:28 +01:00
rudy
04ea0ab148
fix: ci, build optimizer in docker
2022-12-22 20:08:07 +01:00
rudy
f7533d47eb
fix: --force-encoding crt
2022-12-22 12:16:58 +01:00
rudy
11358bdb09
fix(optimizer): submodule shallow=False
2022-12-20 17:13:59 +01:00
David Testé
99082d1473
chore(ci): use name field instead of run_name in benchmark results
...
In case of benchmark_repetitions > 1 using 'run_name' will return
always the same name for a given benchmark case. It won't make the
distinction between the iterations and the aggregated values like
mean, median or stdev. Using 'name' field fix this behavior.
2022-12-20 13:14:44 +01:00
rudy
36dc249712
fix: disabling keysetcache until test on aws
2022-12-15 12:40:43 +01:00