-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
duplicaing an iname results in an unschedulable kernel #752
Comments
I did not look closely at the provided kernel, but that can happen in the following case: import loopy as lp
knl = lp.make_kernel(
"{[i, j]: 0<=i,j<10}",
"""
for i
<> tmp = 10
for j
out1[i, j] = i*j*tmp
out2[i, j] = (i+j)*tmp
end
end
""")
lp.generate_code_v2(knl) # generates code
knl = lp.duplicate_inames(knl, "i", within="writes:out1")
lp.generate_code_v2(knl) # FAILS due to unschedulable loop nesting I would not consider the above behavior a loopy bug as it simply did what the user demanded. |
Agree with @kaushikcfd. Good to close? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm not sure why it becomes unschedulable.
The text was updated successfully, but these errors were encountered: