David Testé
ebf1fd9e84
chore(ci): fix test filtering for gpu multi-bit parameters set
2024-07-16 18:06:42 +02:00
Agnes Leroy
6a3ff21de2
chore(gpu): fix unsigned integer tests
2024-07-15 09:58:33 +02:00
David Testé
f19e892053
chore(ci): add nightly integer tests filter
...
Nightly integer tests would run only on message_3_carry_3_* parameters set.
2024-07-12 12:21:26 +02:00
David Testé
2a989d64f9
chore(ci): run integer fast tests only on message_2_carry_2 parameters
2024-07-12 12:21:26 +02:00
David Testé
cd329729d7
chore(ci): force test-threads value on gpu integer tests
2024-07-09 17:08:15 +02:00
Mayeul@Zama
72475a385e
chore(all): add makefile command to clippy lint doctests
...
- The command exits with a warning on windows as it does not work at the
moment
2024-07-09 14:08:34 +02:00
David Testé
22e9505380
chore(ci): reduce ci duration by not running 4_4 parameters set
...
This only apply for CI triggered in pull-request. A nightly run is added that run 4bits message/4bits carry parameters set.
2024-06-28 14:59:08 +02:00
David Testé
879699c072
chore(ci): filter integer and shortint tests using python script
...
Backend support for GPU has been added to integer tests.
2024-06-28 10:30:17 +02:00
Nicolas Sarlin
54cf162db5
chore(ci): run backward compatibility tests in ci
2024-06-24 10:07:14 +02:00
Arthur Meyre
904cd00076
chore(tfhe): mark zk-pok as non experimental
2024-06-21 09:19:42 +02:00
Arthur Meyre
9242b2a725
feat(high_level_api): add casting primitives for compact public key
2024-06-20 13:24:27 +02:00
Arthur Meyre
30ccb34ef9
chore(ci): manage the memory issues we are seeing
...
- shortint reduce test threads because of large keys
- integer clear in memory cache to avoid keeping two copies of keys per
process
2024-06-17 13:00:22 +02:00
Agnes Leroy
e825277219
chore(ci): reduce the number of cpu threads used in tests on big instances
2024-06-13 21:22:29 +02:00
Leonardo Neumann
c29ae73710
chore(ci): fix GPU shell script shebangs
2024-05-07 10:24:16 +02:00
Arthur Meyre
1b5745c22f
chore(ci): add missing install for clippy_task
2024-04-11 09:23:40 +02:00
Arthur Meyre
26747828eb
chore(ci): add a cpu count script to avoid crashing on macOS on make -j
2024-04-09 13:27:19 +02:00
tmontaigu
2c106e8f01
feat(tfhe): plug zk-pok into all layers
2024-04-09 07:59:20 +02:00
Mayeul@Zama
1647634c8e
fix(script): fix formatting
2024-03-15 09:26:53 +01:00
tmontaigu
ece82c51a5
feat(capi): add Cuda support
...
- This adds GPU support in the C API
- Also make ctest (cmake test launcher) print
test output when it fails
2024-02-09 14:45:21 +01:00
Arthur Meyre
f9669c3294
chore(ci): update scripts and Makefile for future forward compatibility
2024-01-31 16:24:39 +01:00
Arthur Meyre
df6fa86481
refactor(c_api): use DynamicBuffer as the buffer type between C and Rust
...
- allows to share data safely between C and Rust and make sure it gets
destroyed with the right destructor
- apply formatting to C tests
- add a script to symlink the dependency lib to a fixed name
- the rust build system adds a fingerprint to the lib name which is not
practical when we are linking our C test executable
- link the most recent artifacts corresponding to the dependency we have
2024-01-17 10:45:02 +01:00
Arthur Meyre
303cac2092
chore(ci): re-enable release profile for doctest
...
- following merge of 17.0.4 in rust stable the bug uncovered by lto on
aarch64 has been fixed https://github.com/rust-lang/rust/issues/116941 so
we remove the hard coded override
2023-12-01 12:34:26 +01:00
Arthur Meyre
ee57f5658b
chore(ci): refactor integer script and skip div and rem preferring div_rem
2023-11-17 15:00:50 +01:00
Arthur Meyre
eace0bfb85
chore(ci): spread tests between two CI machines/workflow for faster runtime
2023-11-16 14:18:30 +01:00
Arthur Meyre
8db8cb49e4
chore(shortint): add some flaky/failing doctests as actual tests
...
- check that those are actually failing or that they are a doctest bug
- add _ci_run_filter so that we can easily make sure tests run in CI even
if they don't have the "parameter format"
2023-11-15 11:10:44 +01:00
Arthur Meyre
87421e8307
chore(ci): update M1 workflow to not explode the 6h GitHub limit
...
- run doc tests for CI with LTO off following M1 investigation
- LTO fat may be a cause of the wopbs flaky tests, disabling to check
2023-10-19 14:18:05 +02:00
Arthur Meyre
41c20e22f5
chore(ci): enable AVX512 for integer and multi bit integer tests
2023-10-17 10:28:14 +02:00
Arthur Meyre
bc129ba0ed
chore(csprng): add dieharder test suite
2023-09-11 13:05:33 +02:00
tmontaigu
a35386f740
chore(ci): remove ability for tests to be retried
2023-08-24 20:38:07 +02:00
Arthur Meyre
228f85d843
chore(tfhe): remove dbg! macro calls and add a Makefile check for it
2023-07-13 19:45:15 +02:00
Arthur Meyre
3cfee104cb
chore(ci): forward profile to shortint and integer test scripts
2023-07-10 09:34:10 +02:00
Arthur Meyre
59ef915095
chore(ci): fix C API build system to manage profiles other than release
2023-07-10 09:34:10 +02:00
Arthur Meyre
9687c55eb6
chore(ci): fix c_api_tests.sh to use threads on M1 properly
2023-07-10 09:34:10 +02:00
Arthur Meyre
5bea1e0bc0
chore(ci): fix fast tests launching too many multi bit parameters
2023-06-28 19:14:20 +02:00
Arthur Meyre
c0b82c77fb
chore(shortint): plug cpk tests in scripts
2023-06-28 19:14:20 +02:00
Arthur Meyre
b09dc1f3ca
chore(tfhe): rename params
2023-06-28 19:14:20 +02:00
Arthur Meyre
8100b2d0de
chore(ci): skip super slow integer tests in CI
2023-06-19 09:25:29 +02:00
David Testé
18ed2e29a1
chore(ci): create fast feedback unit test profile
...
This is done to get quick feedback to developpers in a Pull Request.
It tests shorint level with only three sets of parameters. Integer
level is tested with only the default operations with two sets of
parameters.
This profile will be automatically triggered on each push in a
pull request. Conversely the full suite of test will also be
triggered automatically but once the review is approved.
2023-06-12 15:19:56 +02:00
Arthur Meyre
d1cb55ba24
chore(tfhe): add multi bit shortint and integer tests
...
- default tests do not run multi bit PBS as it's not yet deterministic
- only radix parallel currently use multi bit pbs in integer
- remove determinism checks for some unchecked ops
- 4_4 multi bit parameters are disabled for now as they seem to introduce
too much noise
2023-06-02 16:00:28 +02:00
tmontaigu
c20ca07cd3
chore(ci): reduce number of test-threads
...
Reduce number of test-threads being spawned
to reduce propability if tests getting killed due
to out of memory
2023-05-17 15:58:27 +02:00
Arthur Meyre
64813bae18
chore(tfhe): as seen there are uses of ilog2 which come from rust 1.67
2023-04-28 11:01:06 +02:00
Arthur Meyre
f72a6ec835
chore(doc): fix typo
2023-04-24 09:30:16 +02:00
Arthur Meyre
6268752ac9
fix(integer): fix radix wopbs table size issue
2023-04-13 11:03:33 +02:00
Arthur Meyre
a04d68f1fb
feat(shortint): add support for small LWE key encryption
2023-03-23 16:45:39 +01:00
Arthur Meyre
e954247f1b
chore(ci): CI at the speed of ligth
...
- use a 128 vcpu instance
- update script to have a no compromise test run
- update Makefile to be able to run the "no compromise" CI mode
2023-03-20 11:24:37 +01:00
Arthur Meyre
14da0ca001
feat(integer): add concrete-integer as integer module
2023-03-07 10:08:53 +01:00
Arthur Meyre
f8f6323ad4
chore(ci): re-organize tests a bit for better parallelism usage
2023-02-08 11:07:51 +01:00
Arthur Meyre
d224821aaa
chore(tfhe): update testing script to allow custom RUSTFLAGS
2023-02-02 17:34:08 +01:00
Arthur Meyre
3acaa2e242
chore(ci): make no_tfhe_typo mac friendly
2023-01-31 10:18:35 +01:00
Arthur Meyre
d9e0220dce
chore(shortint): update CI test cases
2023-01-30 17:00:10 +01:00