Skip to content
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

Merged
merged 6 commits into from
Jun 18, 2024

Conversation

aviator19941
Copy link
Contributor

@aviator19941 aviator19941 commented Jun 13, 2024

We aren't propagating the predicate attribute for cmpf if it is there, this fixes the missing predicate attribute for cmpf.

Copy link

google-cla bot commented Jun 13, 2024

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.

@aviator19941 aviator19941 force-pushed the gpu_predicate_pattern branch 3 times, most recently from 46a35ba to ab4dbb0 Compare June 14, 2024 00:45
@qedawkins qedawkins requested a review from Groverkss June 14, 2024 00:56
@qedawkins
Copy link
Contributor

@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.

Copy link
Contributor

@Groverkss Groverkss left a 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.

@aviator19941
Copy link
Contributor Author

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>
Signed-off-by: aviator19941 <avinash.sharma@amd.com>
Copy link
Contributor

@Groverkss Groverkss left a 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

@Groverkss Groverkss merged commit 2b3c46c into iree-org:main Jun 18, 2024
52 checks passed
LLITCHEV pushed a commit to LLITCHEV/iree that referenced this pull request Jul 30, 2024
…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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants