-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use multithreaded assigner #57
Conversation
53bf865
to
bcdcfed
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check parallel-crypto3 headers carefully.
Any idea how to check automatically i used right headers? May be some static-assert?
...pto3/libs/parallel-containers/include/nil/parallel-crypto3/container/accumulation_vector.hpp
Show resolved
Hide resolved
...lel-crypto3/libs/parallel-containers/include/nil/parallel-crypto3/container/merkle/proof.hpp
Show resolved
Hide resolved
...llel-crypto3/libs/parallel-containers/include/nil/parallel-crypto3/container/merkle/tree.hpp
Show resolved
Hide resolved
...s/parallel-zk/include/nil/parallel-crypto3/zk/commitments/detail/polynomial/eval_storage.hpp
Show resolved
Hide resolved
.../include/nil/parallel-crypto3/zk/commitments/detail/polynomial/powers_of_tau/accumulator.hpp
Show resolved
Hide resolved
...k/include/nil/parallel-crypto3/zk/commitments/detail/polynomial/powers_of_tau/public_key.hpp
Show resolved
Hide resolved
.../parallel-zk/include/nil/parallel-crypto3/zk/commitments/detail/polynomial/proof_of_work.hpp
Show resolved
Hide resolved
...l/parallel-crypto3/zk/commitments/detail/polynomial/r1cs_gg_ppzksnark_mpc/crs_operations.hpp
Show resolved
Hide resolved
I don't think it's possible. Because, come of the includes should still point to the single-threaded implementation. |
4d876fe
to
d3aae4c
Compare
03a1de6
to
3b88949
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about includes in transpiler and zkevm-frameowrk ((should use #ifdef MULTITHREAD) )
@@ -47,6 +47,7 @@ function(setup_proof_generator_target) | |||
if(ARG_ADDITIONAL_DEPENDENCIES) | |||
foreach(lib IN LISTS ARG_ADDITIONAL_DEPENDENCIES) | |||
target_link_libraries(${ARG_TARGET_NAME}-lib INTERFACE ${lib}) | |||
target_compile_definitions(${ARG_TARGET_NAME}-lib INTERFACE MULTITHREADED) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check if lib
is parallel-crypto3
.
Generally single-thread version also can has some additional dependency
No description provided.