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

[INTERPRETER] Support sort #3426

Merged
merged 11 commits into from
Mar 21, 2024
Merged

[INTERPRETER] Support sort #3426

merged 11 commits into from
Mar 21, 2024

Conversation

Jokeren
Copy link
Contributor

@Jokeren Jokeren commented Mar 21, 2024

No description provided.

@Jokeren Jokeren requested a review from ptillet as a code owner March 21, 2024 01:20
@Jokeren Jokeren requested a review from ThomasRaoux March 21, 2024 01:20
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.

wow, that's all it took?

At some point we're going to have to switch the default and make tests opt-out for the interpreter. This is exciting!

@@ -535,6 +535,30 @@ def to_ir(self, builder: ir.builder):
# pointer types
pi32_t = pointer_type(int32)


def get_int_dtype(bitwidth, signed: bool = True) -> dtype:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nit: Up to you, but PEP1 "explicit is better than implicit", maybe make signed a non-defaulted parameter?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sounds good. Just changed.

@Jokeren Jokeren merged commit 6b72f57 into main Mar 21, 2024
5 checks passed
@Jokeren Jokeren deleted the keren/sort branch March 21, 2024 12:49
karupayun pushed a commit to openxla/triton that referenced this pull request Apr 3, 2024
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.

2 participants