8000 openmp: implement real openmp fork/join model by csegarragonz · Pull Request #814 · faasm/faasm · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

openmp: implement real openmp fork/join model #814

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

Merged
merged 20 commits into from
Jan 16, 2024
Merged

Conversation

csegarragonz
Copy link
Collaborator

Before, when we wanted to spawn 10 OpenMP threads, the main executing thread would spawn 10 threads, and wait for their result. In the true OpenMP fork/join model, the parent thread is part of the 10 remaining threads.

The latter logic makes it simpler to implement in terms of SCALE_UP or DIST_CHANGE decisions wrt the planner, so we do so here.

@csegarragonz csegarragonz marked this pull request as ready for review January 10, 2024 11:37
Copy link
8000 codecov bot commented Jan 10, 2024

Codecov Report

Attention: 31 lines in your changes are missing coverage. Please review.

Comparison is base (9cbe7ce) 67.60% compared to head (041a0ba) 67.68%.

Files Patch % Lines
src/wasm/openmp.cpp 68.42% 30 Missing ⚠️
src/wasm/WasmModule.cpp 87.50% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #814      +/-   ##
==========================================
+ Coverage   67.60%   67.68%   +0.07%     
==========================================
  Files          71       71              
  Lines        7811     7887      +76     
==========================================
+ Hits         5281     5338      +57     
- Misses       2530     2549      +19     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@csegarragonz csegarragonz merged commit cb2d317 into main Jan 16, 2024
@csegarragonz csegarragonz deleted the omp-parallel branch January 16, 2024 17:51
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.

1 participant
0