We are exploring methods to enhance arithmetic operations using various types of adders, such as the Carry-Save Adder, Brent-Kung Adder, and others. Similarly, we are investigating optimization techniques for multiplication operations.
Addition and multiplication operations are done using the TFHE-rs backend. If you want to experiment with different implementations then you need to update the backend. For example, you can change the addition function here.
Hi @ayoub
we are getting build error
error: failed to run custom build command for concrete-cpu v1.75.0 (/home/user/Desktop/concrete-main/backends/concrete-cpu/implementation)
building is not going propely. getting errors at every step.
FAILED: tools/concretelang/concrete-protocol/CMakeFiles/concrete-protocol.dir/concrete-protocol.capnp.c++.o
/home/user/Desktop/concrete/compilers/concrete-compiler/compiler/build/tools/concretelang/concrete-protocol/concrete-protocol.capnp.c++:44:62: error: extra ‘;’ [-Werror=pedantic]
44 | CAPNP_DEFINE_ENUM(KeyType_e9c66eb80e60b9ea, e9c66eb80e60b9ea);