Commit Graph

442 Commits

Author SHA1 Message Date
Mayeul@Zama
928a44d243 chore(ci): enforce ending files with a newline 2022-06-16 17:04:25 +02:00
Andi Drebes
45577fb79e Rebase onto llvm-project f69328049e9e with local changes
This commit rebases the compiler onto commit f69328049e9e from
llvm-project.

Changes:

* Use of the one-shot bufferizer for improved memory management

* A new pass `OneShotBufferizeDPSWrapper` that converts functions
  returning tensors to destination-passing-style as required by the
  one-shot bufferizer

* A new pass `LinalgGenericOpWithTensorsToLoopsPass` that converts
  `linalg.generic` operations with value semantics to loop nests

* Rebase onto a fork of llvm-project at f69328049e9e with local
  modifications to enable bufferization of `linalg.generic` operations
  with value semantics

* Workaround for the absence of type propagation after type conversion
  via extra patterns in all dialect conversion passes

* Printer, parser and verifier definitions moved from inline
  declarations in ODS to the respective source files as required by
  upstream changes

* New tests for functions with a large number of inputs

* Increase the number of allowed task inputs as required by new tests

* Use upstream function `mlir_configure_python_dev_packages()` to
  locate Python development files for compatibility with various CMake
  versions

Co-authored-by: Quentin Bourgerie <quentin.bourgerie@zama.ai>
Co-authored-by: Ayoub Benaissa <ayoub.benaissa@zama.ai>
Co-authored-by: Antoniu Pop <antoniu.pop@zama.ai>
2022-06-14 14:35:25 +02:00
dependabot[bot]
ada4369283 chore(deps): bump actions/setup-python from 3.1.2 to 4
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 3.1.2 to 4.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](98f2ad02fd...d09bd5e600)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-13 12:52:02 +03:00
Mayeul@Zama
33253a7582 chore: use branch main instead of master in the CI 2022-06-09 14:49:19 +02:00
youben11
1354759884 chore: rename refs to main branch 2022-06-09 09:19:06 +01:00
aquint-zama
2a42b5f711 docs: migrate from Sphinx to Gitbook 2022-05-31 14:58:08 +02:00
Mayeul@Zama
ce2947b4b9 fix: fix API compatibility check with compiler 2022-05-31 11:04:24 +02:00
Mayeul@Zama
ee64b68109 chore(optimier): use optimizer dependency as a submodule 2022-05-31 10:01:26 +02:00
youben11
0e717ea266 refactor(ci): avoid deuplications of if condition 2022-05-30 08:55:31 +01:00
youben11
852f2dbc35 ci: auto update compiler image if gcc/hpx rebuilt
reorder dependencies
2022-05-30 08:55:31 +01:00
dependabot[bot]
736742cf28 chore(deps): bump gsactions/commit-message-checker from 1.0.0 to 1.0.1
Bumps [gsactions/commit-message-checker](https://github.com/gsactions/commit-message-checker) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/gsactions/commit-message-checker/releases)
- [Commits](08f89134bc...b88ee88552)

---
updated-dependencies:
- dependency-name: gsactions/commit-message-checker
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-23 14:55:41 +03:00
dependabot[bot]
2dea949c0a chore(deps): bump actions/upload-artifact from 3.0.0 to 3.1.0
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](6673cd052c...3cea537223)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-23 14:55:30 +03:00
rudy
ec36b4b4e7 feat(ci): check compiler compiles 2022-05-10 16:20:55 +02:00
dependabot[bot]
1516bcd171 chore(deps): bump docker/login-action from 1.14.1 to 2
Bumps [docker/login-action](https://github.com/docker/login-action) from 1.14.1 to 2.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](dd4fa0671b...49ed152c8e)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-09 15:17:29 +03:00
dependabot[bot]
7c641a9c43 chore(deps): bump docker/build-push-action from 2.10.0 to 3
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2.10.0 to 3.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](ac9327eae2...e551b19e49)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-09 15:17:18 +03:00
rudy
eb1f5b1842 fix(keysetcache): use a portable hash function
will help to make macos faster on the ci
2022-05-06 10:00:11 +02:00
Mayeul@Zama
fee5b10b0e feat(cpp): use cxx (was cbindgen) and mv interface in a workspace 2022-05-05 17:34:22 +02:00
rudy
bd49cc9a48 fix(ci): compiling concrete-optimizer for release 2022-05-04 09:18:36 +02:00
rudy
ab8c22c6a0 fix(ci): BuildAndPushDockerImages should pre-compile concrete-optimizer 2022-05-03 15:55:00 +02:00
rudy
94a8f918d7 feat(ci): no KeySetCache download for full cache change 2022-05-03 11:12:24 +02:00
rudy
b45e469a44 feat(ci): macos, fix keysetcache use 2022-05-02 17:20:22 +02:00
rudy
923a1b58e1 feat(optimizer): plug online parameter estimation 2022-04-29 15:11:42 +02:00
dependabot[bot]
e4a0f3e8e6 chore(deps): bump actions/checkout from 3.0.1 to 3.0.2
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](dcd71f6466...2541b1294d)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-26 11:27:00 +03:00
rudy
c7bf93c388 feat(ci): macos, use compilation cache 2022-04-25 17:18:33 +02:00
rudy
b88fa7e9d9 feat(ci): rust cache, dependencies and compilation 2022-04-25 09:38:25 +02:00
dependabot[bot]
64234ee761 chore(deps): bump actions/checkout from 3.0.0 to 3.0.1
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](a12a3943b4...dcd71f6466)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-18 10:47:44 +03:00
dependabot[bot]
a039baa718 chore(deps): bump actions/setup-python from 3.1.1 to 3.1.2
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](21c0493ecf...98f2ad02fd)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-18 10:47:37 +03:00
rudy
c2d92b0132 feat(ci): pruning keysetcache content 2022-04-13 16:12:22 +02:00
rudy
9387b8793c feat(ci): clear ccache stats in docker image 2022-04-13 11:31:15 +02:00
rudy
2b6eb5f23d feat(ci): freeing some space
this is useful for commits changing many tests
this simply clear the docker cache
2022-04-13 11:12:33 +02:00
dependabot[bot]
09d8aa5aeb chore(deps): bump actions/setup-python from 3.1.0 to 3.1.1
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](9c644ca2ab...21c0493ecf)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-12 12:52:26 +03:00
Antoniu Pop
b77865cdd6 tests: disable forking new processes for running python tests. 2022-04-11 15:05:22 +01:00
youben11
e6cb1f2073 tests: run parallel tests in separate processes
library compilation and execution failing the second time if not
2022-04-08 19:05:06 +01:00
youben11
0d043d0606 chore(tests): separate compiler out test from python
tests/python should include tests related to the python package
2022-04-08 19:05:06 +01:00
Ayoub Benaissa
cae23bc15d ci: download keyset cache before tests if required 2022-04-08 17:18:11 +01:00
Umut
c45b9ffa43 feat: rewrite tests 2022-04-08 12:09:44 +03:00
youben11
3dcd465962 ci: disable parallel package build
The current package name doesn't reflect that it's using
parallelization, and it's using platform linux_x86_64 which does mean
that it should work on any linux distro, while it's not the case
2022-04-06 08:43:53 +01:00
youben11
01f6a334ff chore: remove macos workaround for linking runtimelib 2022-04-04 11:52:23 +01:00
dependabot[bot]
a2b3205b6e chore(deps): bump actions/setup-python from 3.0.0 to 3.1.0
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](0ebf233433...9c644ca2ab)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-04 11:50:42 +03:00
youben11
308504566f chore: add linting step with pylint 2022-04-04 09:15:31 +01:00
youben11
b55f931d7b ci: enable python formatting check 2022-04-04 09:15:31 +01:00
Arthur Meyre
8c0cd3b070 chore: fix stop-runner-linux if there is unexpected failure 2022-03-31 23:39:15 +03:00
rudy
9d754e947c fix(ci): only upload keysetcache on master 2022-03-31 11:56:56 +02:00
rudy
2c4d399575 feat(KeySetCache): use a artifacts to store the cache 2022-03-30 10:11:38 +02:00
Ayoub Benaissa
5a7d6a2c69 chore: stop pushing to internal pypi by default 2022-03-29 09:01:43 +01:00
Umut
74f7e7d102 chore: publish public docker image from ci 2022-03-28 12:20:11 +03:00
dependabot[bot]
69b948603b chore(deps): bump docker/build-push-action from 2.9.0 to 2.10.0
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2.9.0 to 2.10.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](7f9d37fa54...ac9327eae2)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-28 12:19:46 +03:00
dependabot[bot]
8e859f0c9e chore(deps): bump gsactions/commit-message-checker from 0.5.1 to 1
Bumps [gsactions/commit-message-checker](https://github.com/gsactions/commit-message-checker) from 0.5.1 to 1.
- [Release notes](https://github.com/gsactions/commit-message-checker/releases)
- [Commits](29413af748...08f89134bc)

---
updated-dependencies:
- dependency-name: gsactions/commit-message-checker
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-28 11:58:29 +03:00
rudy
b7a7264257 feat: atomic_pattern optimizer, with v0_parameters table generation
Resolve #11
2022-03-25 14:18:17 +01:00
rudy
ced60b377d fix(ci): use zama-bot keys to fetch other repo 2022-03-25 10:57:19 +01:00