Commit d1abbb4
authored
[flang][cuda] Change induction variable from i32 to index for doconcurrent inside cuf kernel directive (llvm#129924)
Use `index` instead of `i32` for induction variables for doconcurrent
inside cuf kernel directive. Regular do loop inside cuf kernel directive
also uses `index`:
```
cuf.kernel<<<*, *>>> (%arg0 : index) = ...
```1 parent 77363f7 commit d1abbb4
2 files changed
+12
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3150 | 3150 | | |
3151 | 3151 | | |
3152 | 3152 | | |
3153 | | - | |
3154 | | - | |
3155 | | - | |
3156 | | - | |
| 3153 | + | |
| 3154 | + | |
| 3155 | + | |
3157 | 3156 | | |
3158 | 3157 | | |
3159 | 3158 | | |
| |||
3163 | 3162 | | |
3164 | 3163 | | |
3165 | 3164 | | |
3166 | | - | |
3167 | | - | |
3168 | | - | |
3169 | | - | |
3170 | 3165 | | |
3171 | 3166 | | |
3172 | 3167 | | |
3173 | 3168 | | |
3174 | 3169 | | |
3175 | 3170 | | |
3176 | 3171 | | |
3177 | | - | |
| 3172 | + | |
3178 | 3173 | | |
3179 | 3174 | | |
3180 | 3175 | | |
| |||
3186 | 3181 | | |
3187 | 3182 | | |
3188 | 3183 | | |
3189 | | - | |
| 3184 | + | |
3190 | 3185 | | |
3191 | 3186 | | |
3192 | 3187 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
0 commit comments