Remove unused cmath include from AutoTune.cpp#4517
Closed
Conversation
Contributor
|
This pull request was exported from Phabricator. Differential Revision: D79790353 |
facebook-github-bot
pushed a commit
that referenced
this pull request
Aug 8, 2025
Summary: ## Instructions about RACER Diffs: This diff was generated by Racer AI agent for your convenience on top of T233787758. - If you are happy with the changes, commandeer it if minor edits are needed. (**we encourage commandeer to get the diff credit**) - If you are not happy with the changes, please comment on the diff with clear actions and send it back to the author. Racer will pick it up and re-generate. - If you really feel the Racer is not helping with this change (alas, some complex changes are hard for AI) feel free to abandon this diff. ## Summary: Remove unused `#include <cmath>` from AutoTune.cpp as part of unused header cleanup. The cmath header was included but no math functions (sqrt, log, exp, pow, sin, cos, etc.) are actually used in the implementation. --- > Generated by [RACER](https://www.internalfb.com/wiki/RACER_(Risk-Aware_Code_Editing_and_Refactoring)/), powered by [Confucius](https://www.internalfb.com/wiki/Confucius/Analect/Shared_Analects/Confucius_Code_Assist_(CCA)/) [Session](https://www.internalfb.com/confucius?session_id=3ce94466-735e-11f0-a1a2-92d93dbc02cb&tab=Chat), [Trace](https://www.internalfb.com/confucius?session_id=3ce94466-735e-11f0-a1a2-92d93dbc02cb&tab=Trace) Differential Revision: D79790353
4da9b99 to
4d1e4da
Compare
Contributor
|
This pull request was exported from Phabricator. Differential Revision: D79790353 |
Summary: ## Instructions about RACER Diffs: This diff was generated by Racer AI agent for your convenience on top of T233787758. - If you are happy with the changes, commandeer it if minor edits are needed. (**we encourage commandeer to get the diff credit**) - If you are not happy with the changes, please comment on the diff with clear actions and send it back to the author. Racer will pick it up and re-generate. - If you really feel the Racer is not helping with this change (alas, some complex changes are hard for AI) feel free to abandon this diff. ## Summary: Remove unused `#include <cmath>` from AutoTune.cpp as part of unused header cleanup. The cmath header was included but no math functions (sqrt, log, exp, pow, sin, cos, etc.) are actually used in the implementation. --- > Generated by [RACER](https://www.internalfb.com/wiki/RACER_(Risk-Aware_Code_Editing_and_Refactoring)/), powered by [Confucius](https://www.internalfb.com/wiki/Confucius/Analect/Shared_Analects/Confucius_Code_Assist_(CCA)/) [Session](https://www.internalfb.com/confucius?session_id=3ce94466-735e-11f0-a1a2-92d93dbc02cb&tab=Chat), [Trace](https://www.internalfb.com/confucius?session_id=3ce94466-735e-11f0-a1a2-92d93dbc02cb&tab=Trace) Differential Revision: D79790353
4d1e4da to
eee52fc
Compare
Contributor
|
This pull request was exported from Phabricator. Differential Revision: D79790353 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
Instructions about RACER Diffs:
This diff was generated by Racer AI agent for your convenience on top of T233787758.
Summary:
Remove unused
#include <cmath>from AutoTune.cpp as part of unused header cleanup. The cmath header was included but no math functions (sqrt, log, exp, pow, sin, cos, etc.) are actually used in the implementation.Differential Revision: D79790353