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:gpu] Fix the dimension order propagation for bitcast #11219

Closed
wants to merge 1 commit into from

Conversation

copybara-service[bot]
Copy link

[xla:gpu] Fix the dimension order propagation for bitcast

If bitcast's destination contains a trivial dimension, it will create an unnecessary trivial fragment after propagation. For example:

%p = f32[5,1] parameter(0)
%bitcast = f32[5] bitcast(%p)

When propagating dimension order from bitcast to p, it creates a fragment of size 1 for %p.

If bitcast's destination contains a trivial dimension, it will create an unnecessary trivial fragment after propagation. For example:

%p = f32[5,1] parameter(0)
%bitcast = f32[5] bitcast(%p)

When propagating dimension order from bitcast to p, it creates a fragment of size 1 for %p.

PiperOrigin-RevId: 621774968
@copybara-service copybara-service bot closed this Apr 10, 2024
@copybara-service copybara-service bot deleted the test_621774968 branch April 10, 2024 20:25
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