Commit 16940cc
committed
[TLE][AMD] Tighten backend-specific lowering checks
Use FlagTree backend identity helpers in the shared cumsum tests and derive the warp size from the active target. Reject unsupported TLE and accidental NVVM operations during AMD LLVM conversion.1 parent cf2a001 commit 16940cc
2 files changed
Lines changed: 13 additions & 34 deletions
File tree
- python/test/tle/unit
- third_party/amd/lib/TritonAMDGPUToLLVM
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| |||
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
| 23 | + | |
26 | 24 | | |
27 | 25 | | |
28 | 26 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
| 27 | + | |
39 | 28 | | |
40 | 29 | | |
41 | 30 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
| 31 | + | |
47 | 32 | | |
48 | 33 | | |
49 | 34 | | |
| |||
223 | 208 | | |
224 | 209 | | |
225 | 210 | | |
226 | | - | |
| 211 | + | |
227 | 212 | | |
228 | 213 | | |
229 | 214 | | |
| |||
Lines changed: 7 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
| 73 | + | |
| 74 | + | |
77 | 75 | | |
78 | 76 | | |
79 | 77 | | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
| 78 | + | |
| 79 | + | |
85 | 80 | | |
86 | 81 | | |
87 | 82 | | |
| |||
204 | 199 | | |
205 | 200 | | |
206 | 201 | | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
211 | 205 | | |
212 | 206 | | |
213 | 207 | | |
| |||
0 commit comments