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

Disable the aggressive reassociation optimization by default #6892

Conversation

lizhengxing
Copy link
Collaborator

The aggressive reassociation optimization for this common factor issue (#6593) can reduce redundant calculations obviously.

But it also exposed some issues for the final codegen and caused perf regressions for some shaders in runtime tests.

Fixing those codegen issues is non-trival, as a workaround, this PR disables the aggressive reassociation optimization by default and will get the perf loss back.

The aggressive reassociation optimization for this common factor issue (#6593) can reduce redundant calculations obviously.

But it also exposed some issues for the final codegen and caused perf regressions for some shaders in runtime tests.

Fixing those codegen issues is non-trival, as a workaround, this PR disables the aggressive reassociation optimization by default and will get the perf loss back.
@lizhengxing lizhengxing requested a review from a team as a code owner September 3, 2024 21:42
@damyanp
Copy link
Member

damyanp commented Sep 3, 2024

Is this reverting a recently made change?

@lizhengxing
Copy link
Collaborator Author

Is this reverting a recently made change?

No. It just turns off the change by default.

@lizhengxing lizhengxing closed this Sep 4, 2024
@lizhengxing lizhengxing deleted the user/zhengxing/disable-aggressive-common-factor-optimization-by-default branch September 4, 2024 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants