-
Notifications
You must be signed in to change notification settings - Fork 462
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[XLA:GPU] Fix the derivation for the number of warps for tiled HLO co…
…mputations. The number of warps used to process a computation determines how many registers we are able to use concurrently. Therefore, looking at the largest (padded) tile size makes sense, since it determines the minimum number of elements that must be live concurrently. Previously, the logic erroneously only looked at the output tile sizes. This approach is not perfect, and may be further improved by e.g. doing a live range analysis on the tiles of the computation. PiperOrigin-RevId: 680668856
- Loading branch information
1 parent
12d351d
commit 9e9b500
Showing
2 changed files
with
57 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters