Skip to content

Remove redundant options from passes#4015

Merged
ThomasRaoux merged 4 commits intotriton-lang:mainfrom
FMarno:remove-unneeded-options
May 28, 2024
Merged

Remove redundant options from passes#4015
ThomasRaoux merged 4 commits intotriton-lang:mainfrom
FMarno:remove-unneeded-options

Conversation

@FMarno
Copy link
Copy Markdown
Contributor

@FMarno FMarno commented May 27, 2024

The TritonGPUPipeline pass has unused pass options and the TritonGPUAccelerateMatmul pass option could instead be read from the module attributes, where the data already exists. The goal is to reduce redundancy.

read the same information from the module op attributes instead

Signed-off-by: Finlay Marno <finlay.marno@codeplay.com>
@FMarno FMarno requested a review from ptillet as a code owner May 27, 2024 16:09
Comment thread lib/Dialect/TritonGPU/Transforms/Utility.cpp Outdated
@jlebar
Copy link
Copy Markdown
Contributor

jlebar commented May 27, 2024

Thanks for the PR! I think this is good modulo the one comment.

Comment thread test/TritonGPU/accelerate-matmul.mlir Outdated
@ThomasRaoux ThomasRaoux merged commit b847042 into triton-lang:main May 28, 2024
amjames pushed a commit to amjames/triton that referenced this pull request Jun 18, 2024
The TritonGPUPipeline pass has unused pass options and the
TritonGPUAccelerateMatmul pass option could instead be read from the
module attributes, where the data already exists. The goal is to reduce
redundancy.

---------

Signed-off-by: Finlay Marno <finlay.marno@codeplay.com>
amjames pushed a commit to amjames/triton that referenced this pull request Jun 18, 2024
The TritonGPUPipeline pass has unused pass options and the
TritonGPUAccelerateMatmul pass option could instead be read from the
module attributes, where the data already exists. The goal is to reduce
redundancy.

---------

Signed-off-by: Finlay Marno <finlay.marno@codeplay.com>
ptillet pushed a commit that referenced this pull request Jun 18, 2024
These need to be in this order to apply cleanly

Cherry pick #4000 and #4015 for release/3.0.x

---------

Signed-off-by: Finlay Marno <finlay.marno@codeplay.com>
Co-authored-by: Finlay <finlay.marno@codeplay.com>
Co-authored-by: Manman Ren <mren@meta.com>
Co-authored-by: Manman Ren <mren@fb.com>
bertmaher pushed a commit to bertmaher/triton that referenced this pull request Dec 10, 2024
The TritonGPUPipeline pass has unused pass options and the
TritonGPUAccelerateMatmul pass option could instead be read from the
module attributes, where the data already exists. The goal is to reduce
redundancy.

---------

Signed-off-by: Finlay Marno <finlay.marno@codeplay.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.

3 participants