Open
Description
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:
- adds in a new test called XorOpOrder2 in test/tests-lower.cpp to test the 2-dimensional C(i, j) = xorOp(A(i, j), B(i, j))
- Applies a patch from @rohany in taco/lower/lowerer-impl.cpp in
lowerMergeCases(...)
that should fix this bug
Metadata
Metadata
Assignees
Labels
No labels