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

Don't call tl.view in arg{min,max} #1518

Merged
merged 2 commits into from
Apr 13, 2023

Conversation

peterbell10
Copy link
Contributor

A small oversight in #1305, since view can rearrange elements it should be avoided here. Instead I use indexing with None to create new dimensions.

A small oversight in triton-lang#1305, since `view` can rearrange elements it
should be avoided here. Instead I use indexing with `None` to create
new dimensions.
@ptillet ptillet enabled auto-merge (squash) April 13, 2023 07:15
@ptillet ptillet merged commit 6550c52 into triton-lang:main Apr 13, 2023
@peterbell10 peterbell10 deleted the argreduce-avoid-view branch April 13, 2023 10:14
pingzhuu pushed a commit to siliconflow/triton that referenced this pull request Apr 2, 2024
A small oversight in triton-lang#1305, since `view` can rearrange elements it
should be avoided here. Instead I use indexing with `None` to create new
dimensions.

Co-authored-by: Philippe Tillet <phil@openai.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.

None yet

2 participants