这是indexloc提供的服务,不要输入任何密码
Skip to content

[XLA][host offloading] Correctly handle queueing tasks on stream. #97353

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 1 commit into from
Jul 24, 2025

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Jul 22, 2025

[XLA][host offloading] Correctly handle queueing tasks on stream.

Previous implementation was queuing H2D and D2H mem copies onto the compute stream.
This implementation queues copies to the correct streams, and also queues host execution to the D2H stream to free up the compute stream for device.

@copybara-service copybara-service bot force-pushed the exported_pr_785792085 branch from fe5a0dd to 82f25f8 Compare July 24, 2025 17:11
Previous implementation was queuing H2D and D2H mem copies onto the compute stream.
This implementation queues copies to the correct streams, and also queues host execution to the D2H stream to free up the compute stream for device.

PiperOrigin-RevId: 786758068
@copybara-service copybara-service bot force-pushed the exported_pr_785792085 branch from 82f25f8 to 35a5a74 Compare July 24, 2025 17:52
@copybara-service copybara-service bot merged commit 35a5a74 into master Jul 24, 2025
@copybara-service copybara-service bot deleted the exported_pr_785792085 branch July 24, 2025 17:52
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