You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2020/08/07 00:29:58 UTC

[GitHub] [incubator-tvm] weberlo commented on pull request #6145: [µTVM] Add --runtime=c, remove micro_dev target, enable LLVM backend

weberlo commented on pull request #6145:
URL: https://github.com/apache/incubator-tvm/pull/6145#issuecomment-670256324


   @tom-gall I inspected the generated C from the example code you posted, and I'm seeing this at the end of the file:
   ```c
                                                                                                       
   static TVMBackendPackedCFunc _tvm_func_array[] = {                                                  
       fused_reshape,                                                                                  
       fused_reshape_1,                                                                                
       fused_nn_dense_nn_bias_add,                                                                     
       fused_nn_dense_nn_bias_add_nn_relu,                                                             
       fused_nn_dense_nn_bias_add_nn_relu_1,                                                           
   static const TVMFuncRegistry _tvm_func_registry = {                                                 
       "\484849fused_reshape\484848fused_reshape_1\484848fused_nn_dense_nn_bias_add\484848fused_nn_dense_nn_bias_..."
   };                                                                                                  
   static const TVMModule _tvm_system_lib = {                                                          
       &system_lib_registry,                                                                           
   };                                                                                                  
   const TVMModule* TVMSystemLibEntryPoint(void) {                                                     
       return &system_lib;                                                                             
   }
   ```
   So my guess is there's a closing brace not being generated [here](https://github.com/apache/incubator-tvm/pull/6145/files#diff-544046339cee2c05d342a785aaa55779R283).
   
   @areusch Maybe we should add a test that compiles the module source?


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