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] Add tl.cast function. #3813

Merged
merged 1 commit into from
May 1, 2024
Merged

[Frontend] Add tl.cast function. #3813

merged 1 commit into from
May 1, 2024

Conversation

jlebar
Copy link
Contributor

@jlebar jlebar commented May 1, 2024

This resolves an inconsistency in Triton, that every other function on Tensors
has an associated free function -- i.e. you can do x.foo and tl.foo(x).

@jlebar jlebar requested a review from ptillet as a code owner May 1, 2024 17:45
@jlebar jlebar requested a review from ThomasRaoux May 1, 2024 17:46
This resolves an inconsistency in Triton, that every other function on Tensors
has an associated free function -- i.e. you can do x.foo and tl.foo(x).
Copy link
Collaborator

@ThomasRaoux ThomasRaoux left a comment

Choose a reason for hiding this comment

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

LGTM

@jlebar jlebar merged commit 4e8abf6 into main May 1, 2024
5 checks passed
@jlebar jlebar deleted the tl.cast branch May 1, 2024 18:54
@jlebar
Copy link
Contributor Author

jlebar commented May 1, 2024

Thanks!

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.

None yet

2 participants