-
Notifications
You must be signed in to change notification settings - Fork 571
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
[GPUDistributionPatterns] Propagate predicate attribute for cmpf op #17664
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
46a35ba
to
ab4dbb0
Compare
compiler/src/iree/compiler/Codegen/Common/GPU/test/gpu_vector_distribution.mlir
Outdated
Show resolved
Hide resolved
@Groverkss this is running into the issue I had brought up before with this pattern. By not cloning the operation we end up dropping important attributes like this. I think this needs to become a clone of the op and then any distribution related attrs are removed after the clone. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of setting attributes one-by-one, can we clone the operation instead? @qedawkins I had issues with that before, but not anymore, as @raikonenfnu found a better way around my issues.
yeah I can try to clone the operation instead. |
Signed-off-by: aviator19941 <avinash.sharma@amd.com>
Signed-off-by: aviator19941 <avinash.sharma@amd.com>
Signed-off-by: aviator19941 <avinash.sharma@amd.com>
Signed-off-by: aviator19941 <avinash.sharma@amd.com>
Signed-off-by: aviator19941 <avinash.sharma@amd.com>
d195d9f
to
6844649
Compare
compiler/src/iree/compiler/Codegen/Common/GPU/test/gpu_vector_distribution.mlir
Show resolved
Hide resolved
Signed-off-by: aviator19941 <avinash.sharma@amd.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM sorry for blocking
…ree-org#17664) We aren't propagating the predicate attribute for cmpf if it is there, this fixes the missing predicate attribute for cmpf. --------- Signed-off-by: aviator19941 <avinash.sharma@amd.com> Signed-off-by: Lubo Litchev <lubol@google.com>
We aren't propagating the predicate attribute for cmpf if it is there, this fixes the missing predicate attribute for cmpf.