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

[Mosaic TPU] Support memref bitcast. #23263

Merged
merged 1 commit into from
Aug 28, 2024
Merged

[Mosaic TPU] Support memref bitcast. #23263

merged 1 commit into from
Aug 28, 2024

Conversation

copybara-service[bot]
Copy link

[Mosaic TPU] Support memref bitcast.

If element bitwidth changes, the ratio of bitwidth is multiplied to the 2nd minormost dim size and the leading dim in tiling. For example, we can bitcast Memref<8x128xf32> with tiling (8, 128) to Memref<16x128xi16> with tiling (16, 128).

@copybara-service copybara-service bot force-pushed the test_667823319 branch 3 times, most recently from 49138c7 to 50c17a0 Compare August 28, 2024 21:49
If element bitwidth changes, the ratio of bitwidth is multiplied to the 2nd minormost dim size and the leading dim in tiling. For example, we can bitcast Memref<8x128xf32> with tiling (8, 128) to Memref<16x128xi16> with tiling (16, 128).

PiperOrigin-RevId: 668619683
@copybara-service copybara-service bot merged commit b010750 into main Aug 28, 2024
1 check was pending
@copybara-service copybara-service bot deleted the test_667823319 branch August 28, 2024 22:00
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