-
Notifications
You must be signed in to change notification settings - Fork 741
Move to Span<EValue*> instead of EValue** in delegate interface #13004
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
Move to Span<EValue*> instead of EValue** in delegate interface #13004
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/13004
Note: Links to docs will display an error until the docs builds have been completed. ❌ 2 New Failures, 1 Unrelated FailureAs of commit 16acb4b with merge base 650b32f ( NEW FAILURES - The following jobs have failed:
FLAKY - The following job failed but was likely due to flakiness present on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
This pull request was exported from Phabricator. Differential Revision: D79268134 |
|
All Ive done so far is just a find and replace code mod. Im sure I have to go through and fix 1 billion individual issues. Just wanted to get this out early to give backend authors a heads up on the change. |
| */ | ||
| ET_NODISCARD executorch::runtime::Error prepare_args( | ||
| executorch::runtime::EValue** args); | ||
| executorch::runtime::Span<EValue*> args); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
think you need to add the executorch::runtime::Evalue namespace for evalue still.
|
This pull request was exported from Phabricator. Differential Revision: D79268134 |
8a705d8 to
7f9e565
Compare
…rch#13004) Summary: Pull Request resolved: pytorch#13004 For better safety we want to provide a pointer and a length instead of just a pointer. This is a breaking change of the delegate interface so have to update everyone at once. Span implements operator [], so I expect this to functionally be a no-op today. Differential Revision: D79268134
|
This pull request was exported from Phabricator. Differential Revision: D79268134 |
…rch#13004) Summary: Pull Request resolved: pytorch#13004 For better safety we want to provide a pointer and a length instead of just a pointer. This is a breaking change of the delegate interface so have to update everyone at once. Span implements operator [], so I expect this to functionally be a no-op today. Differential Revision: D79268134
7f9e565 to
c3c6e24
Compare
|
This pull request was exported from Phabricator. Differential Revision: D79268134 |
…rch#13004) Summary: Pull Request resolved: pytorch#13004 For better safety we want to provide a pointer and a length instead of just a pointer. This is a breaking change of the delegate interface so have to update everyone at once. Span implements operator [], so I expect this to functionally be a no-op today. Differential Revision: D79268134
703fdc9 to
d7d027d
Compare
…rch#13004) Summary: For better safety we want to provide a pointer and a length instead of just a pointer. This is a breaking change of the delegate interface so have to update everyone at once. Span implements operator [], so I expect this to functionally be a no-op today. Differential Revision: D79268134
|
This pull request was exported from Phabricator. Differential Revision: D79268134 |
…rch#13004) Summary: For better safety we want to provide a pointer and a length instead of just a pointer. This is a breaking change of the delegate interface so have to update everyone at once. Span implements operator [], so I expect this to functionally be a no-op today. Differential Revision: D79268134
d7d027d to
33a9639
Compare
|
This pull request was exported from Phabricator. Differential Revision: D79268134 |
cccclai
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense
33a9639 to
76cec45
Compare
…rch#13004) Summary: For better safety we want to provide a pointer and a length instead of just a pointer. This is a breaking change of the delegate interface so have to update everyone at once. Span implements operator [], so I expect this to functionally be a no-op today. Differential Revision: D79268134
…rch#13004) Summary: For better safety we want to provide a pointer and a length instead of just a pointer. This is a breaking change of the delegate interface so have to update everyone at once. Span implements operator [], so I expect this to functionally be a no-op today. Differential Revision: D79268134
76cec45 to
a9e0867
Compare
|
This pull request was exported from Phabricator. Differential Revision: D79268134 |
…rch#13004) Summary: Pull Request resolved: pytorch#13004 For better safety we want to provide a pointer and a length instead of just a pointer. This is a breaking change of the delegate interface so have to update everyone at once. Span implements operator [], so I expect this to functionally be a no-op today. Differential Revision: D79268134
|
This pull request was exported from Phabricator. Differential Revision: D79268134 |
a9e0867 to
16acb4b
Compare
The PR pytorch#13004 moved `EValue` to the `Span` namespace but did not add the corresponding using-declaration in VGFBackend.cpp. Adds the missing using-declaration to fix the build. Change-Id: I58f1acff3fec41aee433283495ff4bbf6cb34512 Signed-off-by: Yufeng Shi <[email protected]>
The PR #13004 moved `EValue` to the `Span` namespace but did not add the corresponding using-declaration in VGFBackend.cpp. Adds the missing using-declaration to fix the build. Signed-off-by: Yufeng Shi <[email protected]>
Differential Revision: D79268134 Pull Request resolved: pytorch#13004
…#13460) The PR pytorch#13004 moved `EValue` to the `Span` namespace but did not add the corresponding using-declaration in VGFBackend.cpp. Adds the missing using-declaration to fix the build. Signed-off-by: Yufeng Shi <[email protected]>
Summary: For better safety we want to provide a pointer and a length instead of just a pointer. This is a breaking change of the delegate interface so have to update everyone at once. Span implements operator [], so I expect this to functionally be a no-op today.
Differential Revision: D79268134