Commit abc7b42
committed
[mlir][GPU] Add builders to allow passing in integer
These are convendience builders to allow user code that knows (or optionally
knows) the upper_bound on, say, a `gpu.thread_id` to specify that bound
without needing to manually construct an IndexAttr.upper_bounds1 parent 45f420e commit abc7b42
1 file changed
+13
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
77 | 89 | | |
| 90 | + | |
78 | 91 | | |
79 | 92 | | |
80 | 93 | | |
| |||
0 commit comments