-
Notifications
You must be signed in to change notification settings - Fork 13.5k
[mlir][Vector] Make vector.contract
work with scalable vectors
#65724
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
[mlir][Vector] Make vector.contract
work with scalable vectors
#65724
Conversation
LGTM at a glance but I wonder if it's worth adding integration tests? Perhaps copying |
77eec46
to
21542ce
Compare
Thanks for taking a look!
Big +1 :) However, I'm discovering quite a few subtle bits like this one while integrating things in IREE. Mindful that |
Ok that's fine but please update the title of the commit / pull request to clarify this is simply fixing scalable dims being dropped in vector.contract lowering, because it currently implies the scope is grander than it is, and like you say this is a complex op so I doubt scalable vector support ends here? |
This is just a small fix that makes sure that `vector.contract` works with scalable vectors. Rather than duplicating all the roundtrip tests for vector.contract, I'm treating scalable vectors as an edge case and just adding a couple of test cases to verify that this works.
21542ce
to
9d07ee7
Compare
Make sure that when calculating the expected mask for `vector.contract`, scalable sizes are correctly taken into account. Depends on: #65724
…m#65724) This is just a small fix that makes sure that `vector.contract` works with scalable vectors. Rather than duplicating all the roundtrip tests for vector.contract, I'm treating scalable vectors as an edge case and just adding a couple to verify that this works.
Make sure that when calculating the expected mask for `vector.contract`, scalable sizes are correctly taken into account. Depends on: llvm#65724
This is just a small fix that makes sure that
vector.contract
works with scalable vectors.Rather than duplicating all the roundtrip tests for vector.contract, I'm treating scalable vectors as an edge case and just adding a couple to verify that this works.