Commit a5b3783
authored
Tiny change: Added/Improved error message in visit_For (intel#4171)
While developing a kernel, I was given the error message
"AssertionError()" without much helpful context on how to proceed with
debugging. I could only solve it by understanding that part of the
triton source code and spending half a day.
That's why I'm (1) adding an error message to this part of the code, and
(2) making the error message above it clearer (like it is in
visit_While).
This should allow the end user to debug this error without the need to
dive into the triton source code.1 parent f04df24 commit a5b3783
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
969 | 969 | | |
970 | 970 | | |
971 | 971 | | |
972 | | - | |
973 | | - | |
| 972 | + | |
| 973 | + | |
974 | 974 | | |
975 | 975 | | |
976 | 976 | | |
| |||
0 commit comments