-
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] Add Keyfunction to IPortableTensor to resolve NDK's dynamic_cast issue #4341
Conversation
8786d45
to
e704ad2
Compare
e704ad2
to
3092789
Compare
…ast issue - Related issues - Samsung#4157 - https://github.sec.samsung.net/STAR/nnfw/issues/11762 ONE-DCO-1.0-Signed-off-by: dayo09 <dayg502@gmail.com>
3092789
to
7352648
Compare
I wonder if we can have something like |
@@ -26,7 +26,7 @@ namespace backend | |||
namespace cpu_common | |||
{ | |||
|
|||
Tensor::~Tensor() = default; | |||
Tensor::~Tensor() {} |
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.
I thought those are same.
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
@hyunsik-yoon This is intended, just to create a key function. Please refer to #4157 (and android/ndk#533 (comment)). |
@wateret Ah. |
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
- This commit enables dynamic_cast assert for android in polymorphic_downcast - Check for `__ANDROID__` macro is added to avoid assertion Samsung#3654 - dynamic_cast now works well on android Samsung#4341 ONE-DCO-1.0-Signed-off-by: JiHwan Yeo <jihwan.yeo@samsung.com>
ONE-DCO-1.0-Signed-off-by: dayo09 dayg502@gmail.com