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

PR #10495: Enforce same input/output layout for offloading ops #66568

Merged
merged 1 commit into from Apr 29, 2024

Conversation

copybara-service[bot]
Copy link

PR #10495: Enforce same input/output layout for offloading ops

Imported from GitHub PR openxla/xla#10495

This patch makes sure that the host offloader will not introduce layout mismatches
after removing the offloading custom calls by constraining the layout assignment
to assign the same layout for the custom call's input and output.
Copybara import of the project:

--
ce6aeac3ac5445ab014d36c92a181dbe7afc35e7 by Jaroslav Sevcik jsevcik@nvidia.com:

Enforce same input/output layout for offloading ops

Merging this change closes #10495

FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#10495 from jaro-sevcik:host-offload-call-layout-fix ce6aeac3ac5445ab014d36c92a181dbe7afc35e7

Imported from GitHub PR openxla/xla#10495

This patch makes sure that the host offloader will not introduce layout mismatches
after removing the offloading custom calls by constraining the layout assignment
to assign the same layout for the custom call's input and output.
Copybara import of the project:

--
ce6aeac3ac5445ab014d36c92a181dbe7afc35e7 by Jaroslav Sevcik <jsevcik@nvidia.com>:

Enforce same input/output layout for offloading ops

Merging this change closes #10495

PiperOrigin-RevId: 628970016
@copybara-service copybara-service bot merged commit 3275525 into master Apr 29, 2024
1 check passed
@copybara-service copybara-service bot deleted the exported_pr_628707325 branch April 29, 2024 06:51
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