Skip to content

Conversation

@pietern
Copy link
Contributor

@pietern pietern commented Oct 10, 2018

This implements a ring reduction resulting the result scattered across
processes, followed by a gather operation to the root process.

The halving/doubling implementation is slated to be ported to this
stateless style later and provided as an option through RedudeOptions.

Rebase needed after #137 is merged.

This is the first "new style" collective that doesn't use the pattern
where it is initialized once, holds some state, and is used many times.

The new style is intended for use where collectives can be called at any
time, such that initialization can no longer be amortized because reuse
may no longer apply.
Like gather in the previous commit, this is a single function and
doesn't hold on to any state. This implements a ring allgather.
This implements a ring reduction resulting the result scattered across
processes, followed by a gather operation to the root process.

The halving/doubling implementation is slated to be ported to this
stateless style later and provided as an option through RedudeOptions.
Copy link

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

pietern has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@pietern pietern deleted the reduce branch October 23, 2018 22:04
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.

2 participants