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

[WIP] [AMD] Remove "remove unsupported conversions" pass #5674

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

binarman
Copy link
Contributor

Some cases are covered by TritonGPUReduceDataDuplication and OptimizeLDSUsage passes.
The rest of cases is not needed anymore, because all combinations of layouts are supported.

Some cases are covered by TritonGPUReduceDataDuplication pass OptimizeLDSUsage passes.
The rest of cases is not needed anymore, because all combinations of layouts are supported.
@binarman binarman changed the title [AMD] Remove "remove unsupported conversions" pass [WIP] [AMD] Remove "remove unsupported conversions" pass Jan 22, 2025
@binarman
Copy link
Contributor Author

WIP, because I need to check this change does not degrade performance

@@ -1,33 +0,0 @@
// RUN: triton-opt %s --split-input-file --decompose-unsupported-amd-conversions=arch=gfx942 | FileCheck %s
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed these tests, because these cases are covered by LDS optimize pass, which has it's own tests.

@@ -40,3 +40,75 @@ module attributes {"ttg.target" = "hip:gfx940", "ttg.num-ctas" = 1 : i32, "ttg.n
tt.return
}
}

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is part of decompose-unsupported-conversions.mlir testsuite

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.

1 participant