Can you please provide simple example like binary gate parallelization?
Thanks in advance
Can you please provide simple example like binary gate parallelization?
Thanks in advance
OpenMP is used internally within OpenFHE to parallelize low-level functionalities. This parallelization is automatically enabled if you build OpenFHE with OpenMP support, which is the default build configuration.
If you intend to write multi-threaded code in Python, you should explore Python’s multi-threading libraries such as threading
for e.g. to parallelize your Python code.
Finally, if you decide to write multi-threaded code at the application level (your Python code), it is advisable to disable OpenMP in the openfhe-development
build to avoid excessive thread creation and potential system resource contention.