Skip to content
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

Closed
wants to merge 9 commits into from

Conversation

AndreyMlashkin
Copy link
Collaborator

No description provided.

Copy link

github-actions bot commented Oct 3, 2024

Clang Test Results

  153 files  ±0    153 suites  ±0   10m 45s ⏱️ -1s
3 207 tests ±0  3 201 ✅ ±0  6 💤 ±0  0 ❌ ±0 
3 274 runs  ±0  3 268 ✅ ±0  6 💤 ±0  0 ❌ ±0 

Results for commit 7e2c7ae. ± Comparison against base commit bc36fe5.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Oct 3, 2024

Gcc Test Results

  153 files  ±0    153 suites  ±0   11m 55s ⏱️ -1s
3 207 tests ±0  3 201 ✅ ±0  6 💤 ±0  0 ❌ ±0 
3 274 runs  ±0  3 268 ✅ ±0  6 💤 ±0  0 ❌ ±0 

Results for commit 7e2c7ae. ± Comparison against base commit bc36fe5.

♻️ This comment has been updated with latest results.

Copy link
Collaborator

@akokoshn akokoshn left a 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?

@AndreyMlashkin
Copy link
Collaborator Author

Please check parallel-crypto3 headers carefully. Any idea how to check automatically i used right headers? May be some static-assert?

I don't think it's possible. Because, come of the includes should still point to the single-threaded implementation.

@AndreyMlashkin AndreyMlashkin force-pushed the use-multithreaded-assigner branch from 4d876fe to d3aae4c Compare October 4, 2024 10:45
@AndreyMlashkin AndreyMlashkin force-pushed the use-multithreaded-assigner branch from 03a1de6 to 3b88949 Compare October 4, 2024 14:11
Copy link
Collaborator

@akokoshn akokoshn left a 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)
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants