PR #39428: [xla:gpu] Use generic AsynStart/Done thunks for host/device memcpy thunks#39432
Merged
copybara-service[bot] merged 1 commit intomainfrom Mar 23, 2026
Merged
PR #39428: [xla:gpu] Use generic AsynStart/Done thunks for host/device memcpy thunks#39432copybara-service[bot] merged 1 commit intomainfrom
copybara-service[bot] merged 1 commit intomainfrom
Conversation
1d333de to
427b51f
Compare
…e memcpy thunks Imported from GitHub PR #39428 Replace copy thunk async events with generic AsyncStartThunk/AsyncDoneThunk for H2D/D2H copies. Remove CopyDoneThunk. + add a fix for correct execution stream resolving (previous attempt #39006) Copybara import of the project: -- c7b9c25 by Eugene Zhulenev <ezhulenev@openxla.org>: [xla:gpu] Use generic AsynStart/Done thunks for host/device memcpy thunks -- 1dc71b5 by Eugene Zhulenev <ezhulenev@openxla.org>: Use params.stream isntead of resolving it from attributes Merging this change closes #39428 COPYBARA_INTEGRATE_REVIEW=#39428 from ezhulenev:async-execution-3 1dc71b5 PiperOrigin-RevId: 888338491
427b51f to
12be40d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR #39428: [xla:gpu] Use generic AsynStart/Done thunks for host/device memcpy thunks
Imported from GitHub PR #39428
Replace copy thunk async events with generic AsyncStartThunk/AsyncDoneThunk for H2D/D2H copies. Remove CopyDoneThunk.
Copybara import of the project:
--
c7b9c25 by Eugene Zhulenev ezhulenev@openxla.org:
[xla:gpu] Use generic AsynStart/Done thunks for host/device memcpy thunks
--
1dc71b5 by Eugene Zhulenev ezhulenev@openxla.org:
Use params.stream isntead of resolving it from attributes
Merging this change closes #39428
FUTURE_COPYBARA_INTEGRATE_REVIEW=#39428 from ezhulenev:async-execution-3 1dc71b5