[go: nahoru, domu]

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] Add num_blocks to TiledHloComputation. #70897

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

copybara-service[bot]
Copy link
@copybara-service copybara-service bot commented Jul 5, 2024

[XLA:GPU] Add num_blocks to TiledHloComputation.

The original plan was to use block_id_to_tile_offsets_indexing to get this information, but turned out that it's too expensive to compute IndexingMap for each tiled instruction. This is a step to minimize the places where we compute the indexing.

The only case when number of blocks per tile is different is if the have a concat in the fusion. This case would have been supported by ``block_id_to_tile_offsets_indexing, but now we need a new plan. Since SymbolicTileAnalysis` also doesn't support `concat` yet, it's not an immediate issue.

@copybara-service copybara-service bot force-pushed the exported_pr_649650457 branch 4 times, most recently from 6ffc08c to e57eaf4 Compare July 8, 2024 13:19
The original plan was to use `block_id_to_tile_offsets_indexing` to get this information, but turned out that it's too expensive to compute IndexingMap for each tiled instruction. This is a step to minimize the places where we compute the indexing.

The only case when number of blocks per tile is different is if the have a concat in the fusion. This case would have been supported by ``block_id_to_tile_offsets_indexing`, but now we need a new plan. Since `SymbolicTileAnalysis` also doesn't support `concat` yet, it's not an immediate issue.

PiperOrigin-RevId: 650230997
@copybara-service copybara-service bot closed this Jul 8, 2024
@copybara-service copybara-service bot merged commit c80b67a into master Jul 8, 2024
1 check passed
@copybara-service copybara-service bot deleted the exported_pr_649650457 branch July 8, 2024 13:45
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