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

[FRONTEND] Fix broadcasting of tl.math.div_rn #3416

Merged
merged 4 commits into from
Mar 20, 2024

Conversation

peterbell10
Copy link
Contributor

binary_op_type_legalization does broadcasting, we just need to use the results.

I also improve _test_binary to check both the left and right argument can be broadcasted.

`binary_op_type_legalization` does broadcasting, we just need to use the results.
@peterbell10 peterbell10 requested a review from ptillet as a code owner March 19, 2024 19:57
Copy link
Collaborator

@jlebar jlebar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome find. Thanks for fixing the tests.

@jlebar jlebar enabled auto-merge (squash) March 19, 2024 21:00
auto-merge was automatically disabled March 20, 2024 17:07

Head branch was pushed to by a user without write access

@jlebar jlebar enabled auto-merge (squash) March 20, 2024 17:28
auto-merge was automatically disabled March 20, 2024 18:45

Head branch was pushed to by a user without write access

@Jokeren Jokeren enabled auto-merge (squash) March 20, 2024 19:26
@Jokeren Jokeren merged commit 16d3f6e into triton-lang:main Mar 20, 2024
4 of 5 checks passed
@peterbell10 peterbell10 deleted the div-broadcasting branch March 20, 2024 19:39
karupayun pushed a commit to openxla/triton that referenced this pull request Apr 3, 2024
`binary_op_type_legalization` does broadcasting, we just need to use the
results.

I also improve `_test_binary` to check both the left and right argument
can be broadcasted.
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.

3 participants