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

[BACKEND] Turn off thread locality optimization based on assumptions #4688

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

ThomasRaoux
Copy link
Collaborator

The pattern optimizing thread locality for reductions in a loop makes assumptions that the reduction is happening on the most inner dim. This seems deeply engrained in the code so I didn't try to fix it at the moment. It's unclear to me if this code is working as expected in general as it makes assumptions on how reshape with allow_reorder=True will move data around.

…ot met

The pattern optimizing thread locality for reductions in a loop makes assumptions
that the reduction is happening on the most inner dim. This seems deeply engrained
in the code so I didn't try to fix it at the moment.
It's unclear to me if this code is working as expected in general as it
makes assumptions on how reshape with allow_reorder=True will move data around.
@ThomasRaoux ThomasRaoux changed the title [BACKEND] Turn off thrad locality optimization based on assumptions [BACKEND] Turn off thread locality optimization based on assumptions Sep 10, 2024
@ThomasRaoux ThomasRaoux merged commit 58eccfc into triton-lang:main Sep 10, 2024
7 checks passed
bertmaher pushed a commit to bertmaher/triton that referenced this pull request Dec 10, 2024
…riton-lang#4688)

The pattern optimizing thread locality for reductions in a loop makes
assumptions that the reduction is happening on the most inner dim. This
seems deeply engrained in the code so I didn't try to fix it at the
moment. It's unclear to me if this code is working as expected in
general as it makes assumptions on how reshape with allow_reorder=True
will move data around.
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