forked from iree-org/iree
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[LLVMGPU] allow multiple m and n dims in contraction distribution (ir…
…ee-org#16943) This adjusts the layout generation logic to allow distribution of contractions with multiple m and n dimensions by greedily using the subgroup/tile_counts of the mma_schedule with the outer dims. The inner most m/n dimensions are still required to be divisible by the intrinsic shape. (and this only supports a single k dimension). This also decouples the ordering logic of the batch/subgroup distribution from the lane distribution for the intrinsics. Currently it assumes intrinsics can only specify three important sizes, an M, N, and K size. To support distributed batches this would require adding a fourth dim type.
- Loading branch information
Showing
12 changed files
with
632 additions
and
207 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
Oops, something went wrong.