Sequential scan pattern is broken
This code:
import loopy as lp
knl = lp.make_kernel(
["[n] -> { [i] : 0 <= i < n }",
"{ [i_tracker] : i >= 0 and i_tracker >= -1 + 2i and 0 <= i_tracker <= 2i }"],
"""
<>acc_j = 0
for i
for i_tracker
acc_j = acc_j + i_tracker**2
end
<>a[i] = acc_j
end
""",
"..."
)
lp.generate_code_v2(knl)
results in:
RuntimeError: non-unique var name 'i' encountered
I think this was caused by !84 (merged)