Skip to content

[exo] Fix for gcc-13 overloaded-virtual#15239

Merged
seanshpark merged 1 commit into
Samsung:masterfrom
seanshpark:exo_override_gcc13
Apr 28, 2025
Merged

[exo] Fix for gcc-13 overloaded-virtual#15239
seanshpark merged 1 commit into
Samsung:masterfrom
seanshpark:exo_override_gcc13

Conversation

@seanshpark

Copy link
Copy Markdown
Contributor

This will fix for gcc-13 overloaded-virtual option on U24.04 build.

@seanshpark

Copy link
Copy Markdown
Contributor Author

@seanshpark seanshpark requested a review from a team April 28, 2025 02:02
This will fix for gcc-13 overloaded-virtual option on U24.04 build.

ONE-DCO-1.0-Signed-off-by: SaeHie Park <saehie.park@gmail.com>
@seanshpark seanshpark requested review from a team and removed request for a team April 28, 2025 05:45

@shs-park shs-park left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left a question,
but the code LGTM
=)

Comment on lines +132 to +144
// NOTE adding visit() to make compiler happy with "-Werror=overloaded-virtual="
void visit(loco::Node *) final { assert(false); }
void visit(loco::MatMul *) final { assert(false); }
void visit(loco::MatrixDecode *) final { assert(false); }
void visit(loco::MatrixEncode *) final { assert(false); }
void visit(loco::TensorTranspose *) final { assert(false); }
void visit(loco::Forward *) final { assert(false); }
void visit(loco::FilterDecode *) final { assert(false); }
void visit(loco::DepthwiseFilterDecode *) final { assert(false); }
void visit(loco::BiasDecode *) final { assert(false); }
void visit(locoex::TFLNode *) final { assert(false); }
void visit(locoex::CircleNode *) final { assert(false); }

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question,
Does this mean these operations are currently not supported for export?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think these are not for circle or tflite dialect so not need to be exported.

@seanshpark seanshpark merged commit c37387b into Samsung:master Apr 28, 2025
@seanshpark seanshpark deleted the exo_override_gcc13 branch April 28, 2025 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants