Skip to content

Workaround parallel multistage synchronization issue #375

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

Closed
wants to merge 2 commits into from
Closed

Workaround parallel multistage synchronization issue #375

wants to merge 2 commits into from

Conversation

jdahm
Copy link
Contributor

@jdahm jdahm commented Mar 12, 2021

Description

Quick fix for lack of synchronization between parallel multistages in GridTools C++. This converts all parallel computations into forward for code generation in GT backends.

This is overly aggressive because it changes every parallel multistage to forward, so perhaps in the long term this should be changed to detect data dependencies between pairs of parallel computations and flip one of them.

@jdahm
Copy link
Contributor Author

jdahm commented Mar 24, 2021

This is no longer needed if we generate distinct computations for each multistage.

@jdahm jdahm closed this Mar 24, 2021
@jdahm jdahm reopened this Mar 24, 2021
@jdahm
Copy link
Contributor Author

jdahm commented Apr 27, 2021

This is not quite the correct solution. The more concrete workaround is to actually generate separate computations.

@jdahm jdahm closed this Apr 27, 2021
@jdahm jdahm deleted the workaround-parallel-ms-sync branch January 25, 2022 00:54
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