-
Notifications
You must be signed in to change notification settings - Fork 607
[ET-VK][EZ] Assign trivially moveable values to const-ref variables #2834
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
The [`toType()` methods return a reference](https://github.com/pytorch/executorch/blob/be618c27ee75fb949f3479115f4ea585ea291451/backends/vulkan/runtime/graph/containers/Value.h#L222) so there's no need to copy the return value. Differential Revision: [D55701570](https://our.internmc.facebook.com/intern/diff/D55701570/) [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/2834
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 9737607 with merge base d3326a2 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This pull request was exported from Phabricator. Differential Revision: D55701570 |
…variables" The [`toType()` methods return a reference](https://github.com/pytorch/executorch/blob/be618c27ee75fb949f3479115f4ea585ea291451/backends/vulkan/runtime/graph/containers/Value.h#L222) so there's no need to copy the return value. Differential Revision: [D55701570](https://our.internmc.facebook.com/intern/diff/D55701570/) [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D55701570 |
This pull request has been merged in 7f1fa70. |
Pull Request resolved: pytorch/executorch#2834 The [`toType()` methods return a reference](https://github.com/pytorch/executorch/blob/be618c27ee75fb949f3479115f4ea585ea291451/backends/vulkan/runtime/graph/containers/Value.h#L222) so there's no need to copy the return value. ghstack-source-id: 221721753 @exported-using-ghexport Differential Revision: [D55701570](https://our.internmc.facebook.com/intern/diff/D55701570/)
The [`toType()` methods return a reference](https://github.com/pytorch/executorch/blob/be618c27ee75fb949f3479115f4ea585ea291451/backends/vulkan/runtime/graph/containers/Value.h#L222) so there's no need to copy the return value. Differential Revision: [D55701570](https://our.internmc.facebook.com/intern/diff/D55701570/) ghstack-source-id: 221145473 Pull Request resolved: pytorch/executorch#2834
Stack from ghstack (oldest at bottom):
The
toType()
methods return a reference so there's no need to copy the return value.Differential Revision: D55701570