-
Notifications
You must be signed in to change notification settings - Fork 0
taco: xorOp higher-order tensor code and Merge Lattice generation bug #9
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
Comments
@RawnH do you have suggestions for this bug? A the problem can be seen in the generated code for a 2-d element wise xor op:
In particular, the code doesn't generate a case for the omitter point when the value on the first mode is equal to the value on the of the first mode of the other tensor. Instead, it needs to emit the case there, and recurse down into the point. |
I will look at this when I look at the other issue. |
Currently the taco/array_algebra branch generates incorrect xorOp lowering code for 2+ order tensors (found by @rohany)
The lowering code seems to only compare for the iteration algebra on the highest level of coordinates and does not check the case where input1_crd1 == input2_crd1 but input1_crd2 != input2_crd2.
Created a branch in taco/array_algebra_xor_fix that:
lowerMergeCases(...)
that should fix this bugThe text was updated successfully, but these errors were encountered: