-
Notifications
You must be signed in to change notification settings - Fork 25.6k
[codemod][lowrisk] Remove unused exception parameter from caffe2/aten/src/ATen/cuda/CUDABlas.cpp #149328
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
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/149328
Note: Links to docs will display an error until the docs builds have been completed. ⏳ No Failures, 45 PendingAs of commit 1a30fa9 with merge base 224cd9f ( UNSTABLE - The following job is marked as unstable, possibly due to flakiness on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This pull request was exported from Phabricator. Differential Revision: D71290929 |
@pytorchbot merge |
Merge failedReason: This PR has internal changes and must be landed via Phabricator! Please try reimporting/rexporting the PR! Details for Dev Infra teamRaised by workflow job |
4faa501
to
980e530
Compare
This pull request was exported from Phabricator. Differential Revision: D71290929 |
980e530
to
c2da77e
Compare
…/src/ATen/cuda/CUDABlas.cpp (pytorch#149328) Summary: Pull Request resolved: pytorch#149328 `-Wunused-exception-parameter` has identified an unused exception parameter. This diff removes it. This: ``` try { ... } catch (exception& e) { // no use of e } ``` should instead be written as ``` } catch (exception&) { ``` If the code compiles, this is safe to land. Test Plan: Sandcastle Reviewed By: dtolnay Differential Revision: D71290929
This pull request was exported from Phabricator. Differential Revision: D71290929 |
c2da77e
to
1a30fa9
Compare
@pytorchbot merge -f "Good to go" |
Can't merge closed PR #149328 |
@pytorchbot merge -f "Good to go" |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Summary:
-Wunused-exception-parameter
has identified an unused exception parameter. This diff removes it.This:
should instead be written as
If the code compiles, this is safe to land.
Test Plan: Sandcastle
Reviewed By: dtolnay
cc @EikanWang @jgong5 @wenzhe-nrv @sanchitintel