-
Notifications
You must be signed in to change notification settings - Fork 157
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
[onert] Propagate shared memory operand indexes to cpu backend #14230
base: master
Are you sure you want to change the base?
[onert] Propagate shared memory operand indexes to cpu backend #14230
Conversation
This commit adds propagation of shared memory operand indexes to cpu backend. Note that the propagated indexes map is not filled yet. ONE-DCO-1.0-Signed-off-by: Mateusz Bencer m.bencer@partner.samsung.com
…SharedMemoryOperands
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.
This PR changes the interface between the core and the backend. The code seems fine, but I'm not 100% sure about the direction (or details). It's complicated for me to review this.
And I'm also worried that you might have to work twice because there are different opinions between me and other members of onert. For this part, I would like to hear others' opinions first. (maybe @ragmani or @hseok-oh)
@zetwhite |
I thought that
I'm fine with But I'm not sure why |
I realized what interface changed.
I guess |
Unfortunately, they are dependent via static polymorphism (despite the lack common interface) in genTensors where
I see, after modification of BackendContextHelpers.h I was able to revert changes in
As I understand you propose to calculate indexes of shared memory operands during each usage? I see advantages of such approach (limited scope of changes) but please also review the current approach - note that
The scope is limited now to |
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.
LGTM
FYI: I will be on vacation until 26 (Nov) with excluding Wed (20 Nov) - in this day I am going to work. Please expect delays in communication ;-) |
This commit adds propagation of shared memory operand indexes to cpu backend. Note that the propagated indexes map is not filled yet.
ONE-DCO-1.0-Signed-off-by: Mateusz Bencer m.bencer@partner.samsung.com
Draft: #14057