Commit a6d11f7
authored
[Backend][NFC] Expose DecomposeScaledBlocked Pass (triton-lang#8078)
Exposed and Refactored DecomposeScaledBlocked pass so that it can be
used by other backends.
Modifications include:
- Moved the pass definition to a header file.
- Made `cvtDotOperand` a member method to be reused later.
- Made `getTransposeOrder` a static method.
This is one of a series of PRs to decompose scaled dot on AMD backend.1 parent abce3c8 commit a6d11f7
File tree
2 files changed
+238
-216
lines changed- include/triton/Dialect/TritonGPU/Transforms
- lib/Dialect/TritonGPU/Transforms
2 files changed
+238
-216
lines changedLines changed: 33 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
5 | 38 | | |
6 | 39 | | |
7 | 40 | | |
| |||
0 commit comments