Skip to content

Commit

Permalink
fix(tvm_utility): add virtual destructor to tvm_utility (autowarefoun…
Browse files Browse the repository at this point in the history
…dation#7759)

* fix(tvm_utility): add virtual destructor to tvm_utility

Signed-off-by: Y.Hisaki <yhisaki31@gmail.com>

* add override

Signed-off-by: Y.Hisaki <yhisaki31@gmail.com>

---------

Signed-off-by: Y.Hisaki <yhisaki31@gmail.com>
Signed-off-by: palas21 <palas21@itu.edu.tr>
  • Loading branch information
yhisaki authored and palas21 committed Jul 12, 2024
1 parent 1478b4a commit fdacc47
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion common/tvm_utility/include/tvm_utility/pipeline.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ class PipelineStage
* @return The output of the pipeline
*/
virtual OutputType schedule(const InputType & input) = 0;
virtual ~PipelineStage() {}
InputType input_type_indicator_;
OutputType output_type_indicator_;
};
Expand Down Expand Up @@ -299,7 +300,7 @@ class InferenceEngineTVM : public InferenceEngine
}
}

TVMArrayContainerVector schedule(const TVMArrayContainerVector & input)
TVMArrayContainerVector schedule(const TVMArrayContainerVector & input) override
{
// Set input(s)
for (uint32_t index = 0; index < input.size(); ++index) {
Expand Down

0 comments on commit fdacc47

Please sign in to comment.