tvm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-tvm] wpan11nv opened a new pull request #5207: [IR][Debug] Add dump and print for debugging (NFC)
Date Wed, 01 Apr 2020 20:40:16 GMT
wpan11nv opened a new pull request #5207: [IR][Debug] Add dump and print for debugging (NFC)
URL: https://github.com/apache/incubator-tvm/pull/5207
 
 
   - Add two utility functions for debugging. With this change,
     developers could use
   
     `print op->dump()` or 'print op->print()`
   
     inside a debugger (lldb or gdb). Object op could be either
     of type Object or ObjectRef.
   
     Note that the existing tvm::Dump(ref) does not work on
     objects of type tvm::Object. Sometimes lldb cannot locate
     this Dump function inside a visitor context.
   
   Signed-off-by: Wei Pan <weip@nvidia.com>
   
   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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message