Skip to content

PR #39428: [xla:gpu] Use generic AsynStart/Done thunks for host/device memcpy thunks#39432

Merged
copybara-service[bot] merged 1 commit intomainfrom
test_885647980
Mar 23, 2026
Merged

PR #39428: [xla:gpu] Use generic AsynStart/Done thunks for host/device memcpy thunks#39432
copybara-service[bot] merged 1 commit intomainfrom
test_885647980

Conversation

@copybara-service
Copy link
Copy Markdown

@copybara-service copybara-service Bot commented Mar 18, 2026

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.

--
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

@copybara-service copybara-service Bot force-pushed the test_885647980 branch 11 times, most recently from 1d333de to 427b51f Compare March 23, 2026 23:23
…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
@copybara-service copybara-service Bot merged commit 12be40d into main Mar 23, 2026
@copybara-service copybara-service Bot deleted the test_885647980 branch March 23, 2026 23:38
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