tqchen edited a comment on issue #4280: [TVM][RUNTIME] A minimum example to 
generate external library wrappers for DSOModule
URL: https://github.com/apache/incubator-tvm/pull/4280#issuecomment-555146621
 
 
   Comments about json runtime. I would consider move the json runtime to 
   ```apps/extern_runtime``` to allow us to write examples even in python.  It 
would be great to see examples like:
   
   ```python
   mod = DSOModule()
   mod.import_module(JSONExampleModule())
   
   mod.export_library("xyz.so")
   
   mod = tvm.module.load("xyz.so")
   # run that he code that can uses functions in the JSONExampleModule
   ```
   
   The main goal is to provide readers an easy reference point about how to add 
their own runtimes.
   
   As a followup, we can add docs/dev/custom_codegen_runtime.rst that 
introduces both the compile to DSOModule method and the extern json runtime 
example, with reference to the folder.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to