Commit f8a19d1
authored
[TritonNVIDIAGPU] Revert MMAv5 write effect on barrier (triton-lang#6484)
This is a tiny partial revert of triton-lang#6476, removing the addition
`MemWrite<SharedMemory>` on the barrier operand of the MMAv5 ops. This
wasn't present before. This is causing extra barriers to be inserted
between MMA ops and mbarrier waits.
This was causing large performance regressions across the board.
However, as things stand, the compiler can't see interfering memory
effects between the MMAv5 ops and barrier waits. We will probably have
to model the side effects here in a different way. Technically, the
MMAv5 ops don't write or read the barrier, but push a request onto the
MMAv5 pipeline.1 parent face3d2 commit f8a19d1
File tree
2 files changed
+35
-4
lines changed- lib/Dialect/TritonNvidiaGPU/IR
- test/TritonNvidiaGPU
2 files changed
+35
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | 211 | | |
216 | 212 | | |
217 | 213 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
0 commit comments