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

Add sync_images() method to spmd_block class #2773

Merged
merged 3 commits into from Aug 10, 2017

Conversation

atrantan
Copy link

@atrantan atrantan commented Jul 20, 2017

This patch adds a new method for spmd_block class called sync_images() to synchronize only a subset of images as opposed to sync_all(). The chosen approach is to manage concurrentlly a map of barriers that is expanded each time a new combination of image ids is given via a sync_images() call. Local and distributed versions have been implemented and unit tests have been changed to test those features.

@atrantan atrantan force-pushed the spmd_block_with_sync_images branch 5 times, most recently from dbbb12e to 23dcaa9 Compare July 21, 2017 17:00
@hkaiser hkaiser added this to the 1.1.0 milestone Jul 21, 2017
@atrantan atrantan force-pushed the spmd_block_with_sync_images branch from f03f154 to 02f8329 Compare July 22, 2017 17:10
@atrantan atrantan force-pushed the spmd_block_with_sync_images branch from 02f8329 to 6faad89 Compare July 22, 2017 17:11
Copy link
Member

@hkaiser hkaiser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't like to use of the term 'image' in this context, but otherwise this LGTM. Thanks

@hkaiser
Copy link
Member

hkaiser commented Aug 9, 2017

@atrantan Would you be able to create some documentation for this, please?

@hkaiser hkaiser merged commit 58f1171 into STEllAR-GROUP:master Aug 10, 2017
@atrantan
Copy link
Author

@hkaiser Done in c60a41d

@atrantan atrantan deleted the spmd_block_with_sync_images branch August 23, 2017 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants