Skip to content

Commit

Permalink
fix(CI): add newlines in end of files
Browse files Browse the repository at this point in the history
  • Loading branch information
mayeul-zama authored and BourgerieQuentin committed Mar 16, 2023
1 parent f4dbe22 commit 45f5267
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/concrete_python_build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -382,4 +382,4 @@ jobs:
- name: PyTest Source Code
run: |
cd frontends/concrete-python
make pytest
make pytest
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
[submodule "compiler/parameter-curves"]
path = compilers/concrete-compiler/compiler/parameter-curves
url = [email protected]:zama-ai/parameter-curves.git
shallow = true
shallow = true
2 changes: 1 addition & 1 deletion .linelint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ autofix: false

# list of paths to ignore, uses gitignore syntaxes (executes before any rule)
ignore:
- .git/
- compilers/concrete-compiler/llvm-project

rules:
# checks if file ends in a newline character
Expand Down
2 changes: 1 addition & 1 deletion .rustfmt.toml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
imports_granularity = "Module"
imports_granularity = "Module"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ The `concrete` project is a set of several modules which are high-level frontend
- The `frontends` directory contains a `python` frontend.
- The `compilers` directory contains the `concrete-compiler` and `concrete-optimizer` modules. The `concrete-compiler` is a compiler that synthetize a FHE computation dag expressed as a [MLIR](https://mlir.llvm.org/) dialect, compile to a set of artifacts, and provide tools to manipulate those artifacts at runtime. The `concrete-optimizer` is a specific module used by the compiler to find the best, secure and accurate set of crypto parameters for a given dag.
- The `backends` directory contains implementations of cryptographic primitives on different computation unit, used by the `concrete-compiler` runtime. The `concrete-cpu` module provides CPU implementation, while `concrete-cuda` module provides GPU implementation using the CUDA platform.
- The `tools` directory contains side tools used by the rest of the project.
- The `tools` directory contains side tools used by the rest of the project.
2 changes: 1 addition & 1 deletion backends/concrete-cuda/implementation/include/device.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@ inline void cuda_error(cudaError_t code, const char *file, int line,
}
}
}
#endif
#endif
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,4 @@ __device__ inline double2 operator*(double a, double2 b) {
return res;
}

#endif
#endif
2 changes: 1 addition & 1 deletion backends/concrete-cuda/implementation/src/crypto/torus.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ rescale_torus_element<uint64_t>(uint64_t element, uint64_t &output,
(__ull2double_rn(std::numeric_limits<uint64_t>::max()) + 1.0) *
__uint2double_rn(log_shift));
}
#endif // CNCRT_TORUS_H
#endif // CNCRT_TORUS_H
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#include "polynomial.cuh"
#include "polynomial.cuh"
2 changes: 1 addition & 1 deletion backends/concrete-cuda/implementation/src/types/int128.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,4 @@ template <typename T> __device__ int128 make_int128_from_float(T v) {
uint128_low64(result));
}

#endif
#endif
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ inline void getNumBlocksAndThreads(const int n, const int maxBlockSize,
blocks = (n + threads - 1) / threads;
}

#endif // KERNEL_DIMENSIONS_H
#endif // KERNEL_DIMENSIONS_H
2 changes: 1 addition & 1 deletion backends/concrete-cuda/implementation/src/utils/timer.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ public:
}
};

#endif // CNCRT_TIMER_H
#endif // CNCRT_TIMER_H
2 changes: 1 addition & 1 deletion compilers/concrete-optimizer/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*In addition to the rights carried by this license, ZAMA grants to the user a non-exclusive,
free and non-commercial license on all patents filed in its name relating to the open-source
code (the "Patents") for the sole purpose of evaluation, development, research, prototyping
and experimentation.
and experimentation.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
tests/tests_exe
tests/tests_exe
2 changes: 1 addition & 1 deletion frontends/concrete-python/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -134,4 +134,4 @@ dmypy.json
.pyre/

# Compilation Artifacts
.artifacts
.artifacts

0 comments on commit 45f5267

Please sign in to comment.