jroesch commented on a change in pull request #8697:
URL: https://github.com/apache/tvm/pull/8697#discussion_r686388180
##########
File path: src/relay/backend/aot_executor_codegen.cc
##########
@@ -635,6 +601,7 @@ class AOTExecutorCodegen : public ExprVisitor {
tec::UpdateFunctionMetadata(func, this->function_metadata_);
});
+ function_metadata_.Set(runtime::symbol::tvm_module_main,
lowered_module.main_func_info);
Review comment:
@mbs-octoml I think my point is we should be able to do like
`lowered_module.main_module["main"].GetAttr("function_info")`. Maybe your point
is to clean this up in future patch after landing this?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]