Commit 1f8966b
authored
[Triton Tool] Enable the triton-tensor-layout tool for 3rd party Triton GPU Dialect (#5444)
Remove the protection of only the `ttg` dialect being allowed in
triton-tensor-layout tool safely.
Change the helper function to check whether the layout attribute
implements the `toLinearLayout` interface.
This PR does not include new test because the in-tree LIT test covers
the changes for in-tree layout attribute of Triton GPU dialect.1 parent 24b8d43 commit 1f8966b
1 file changed
+5
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
| |||
0 commit comments