UlrikHjort-Bosch commented on issue #10237:
URL: https://github.com/apache/tvm/issues/10237#issuecomment-1154838008

   > @UlrikHjort-Bosch I haven't had this issue before with the tutorial. could 
you please give us the entire stack trace?
   
   Hi @mkatanbaf,
   My procedure and result is the folowing:
   
   I run "python micro_autotune.py" from the tvm root (micro_autotune.py  
downloaded from 
http://tmp.syfeng.net:9090/how_to/work_with_microtvm/micro_autotune.html and 
used as it is) and get the following:
   
   ```
   Current/Best:    0.00/   0.00 MFLOPS | Progress: (0/10) | 0.00 
smodel/codegen/host/src/lib0.c: In function ‘default_function’:
   model/codegen/host/src/lib0.c:24:9: warning: unused variable 
‘arg_data_shape’ [-Wunused-variable]
      24 |   void* arg_data_shape = (((DLTensor*)arg_data)[0].shape);
         |         ^~~~~~~~~~~~~~
   model/codegen/host/src/lib0.c:21:9: warning: unused variable 
‘arg_kernel_shape’ [-Wunused-variable]
      21 |   void* arg_kernel_shape = (((DLTensor*)arg_kernel)[0].shape);
         |         ^~~~~~~~~~~~~~~~
   model/codegen/host/src/lib0.c:17:9: warning: unused variable 
‘arg_conv2d_NCHWc_shape’ [-Wunused-variable]
      17 |   void* arg_conv2d_NCHWc_shape = 
(((DLTensor*)arg_conv2d_NCHWc)[0].shape);
         |         ^~~~~~~~~~~~~~~~~~~~~~
   model/codegen/host/src/lib0.c:15:11: warning: unused variable 
‘arg_data_code’ [-Wunused-variable]
      15 |   int32_t arg_data_code = arg_type_ids[2];
         |           ^~~~~~~~~~~~~
   model/codegen/host/src/lib0.c:13:11: warning: unused variable 
‘arg_kernel_code’ [-Wunused-variable]
      13 |   int32_t arg_kernel_code = arg_type_ids[1];
         |           ^~~~~~~~~~~~~~~
   model/codegen/host/src/lib0.c:11:11: warning: unused variable 
‘arg_conv2d_NCHWc_code’ [-Wunused-variable]
      11 |   int32_t arg_conv2d_NCHWc_code = arg_type_ids[0];
         |           ^~~~~~~~~~~~~~~~~~~~~
   /usr/bin/ld: build/crt/libcommon.a(crt_runtime_api.o): in function 
`SystemLibraryCreate':
   
/tmp/tmpx0i_9zyp/generated-project/crt/src/runtime/crt/common/crt_runtime_api.c:210:
 undefined reference to `TVMSystemLibEntryPoint'
   ```


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