zxy844288792 opened a new pull request #8464:
URL: https://github.com/apache/tvm/pull/8464


   If a module contains multiple functions, the partition pass fail with this 
kind of message: ```Check failed: (!module_->ContainGlobalVar(fname)) is false: 
Global function ccompiler_0 already exists```
   
   The reason of that is due to for each function in the module we maintain a 
AnnotatedRegion object and reset the region_id which region_id is used to form 
the subfunction name. Here introduces the new naming which will also use the 
function name to form the final subfunction name.
   
   Thanks for contributing to TVM!   Please refer to guideline 
https://tvm.apache.org/docs/contribute/ for useful information and tips. After 
the pull request is submitted, please request code reviews from 
[Reviewers](https://github.com/apache/incubator-tvm/blob/master/CONTRIBUTORS.md#reviewers)
 by @ them in the pull request thread.
   


-- 
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]


Reply via email to