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

[xla] Modify the p2p-schedule-preparation pass to support a new scheme to #63635

Merged
merged 1 commit into from
Mar 16, 2024

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Mar 13, 2024

[xla] Modify the p2p-schedule-preparation pass to support a new scheme to
pipeline Send-Recv chains.

The old pipeline scheme only peels off a Recv and rotates the remaining
Recv-done, Send, Send-done inside a while loop.

The new pipeline scheme peels off both the Recv and the Send and rotates
the remaining Recv-done and Send-done inside a while loop.

The new pipeline scheme can also pipeline two Send-Recv groups that form a
cycle. In this case, we peel off all four Recv and Send instructions, and
rotate the remaining four Recv-done and Send-done instructions.

Modify existing tests to use the new pipeline scheme. Add a test for pipelining
two Send-Recv groups that form a cycle.

@copybara-service copybara-service bot force-pushed the test_615034964 branch 7 times, most recently from 85e5a27 to 7e37cd8 Compare March 16, 2024 03:42
…e to

pipeline Send-Recv chains.

The old pipeline scheme only peels off a Recv and rotates the remaining
Recv-done, Send, Send-done inside a while loop.

The new pipeline scheme peels off both the Recv and the Send and rotates
the remaining Recv-done and Send-done inside a while loop.

The new pipeline scheme can also pipeline two Send-Recv groups that form a
cycle. In this case, we peel off all four Recv and Send instructions, and
rotate the remaining four Recv-done and Send-done instructions.

Modify existing tests to use the new pipeline scheme. Add a test for pipelining
two Send-Recv groups that form a cycle.

PiperOrigin-RevId: 616325546
@copybara-service copybara-service bot merged commit f62d42e into master Mar 16, 2024
@copybara-service copybara-service bot deleted the test_615034964 branch March 16, 2024 04:13
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.

None yet

1 participant