areusch opened a new issue #8640:
URL: https://github.com/apache/tvm/issues/8640


   Now that we have `--interface=` target string flag, it's possible to wind up 
in a bad situation with two different styles of function prototypes:
   
   lib0.c:
   ```
   TVM_DLL int32_t tvmgen_default_fused_multiply_add(TVMValue* args, int* 
type_code, int num_args, TVMValue* out_value, int* out_type_code);
   ```
   
   lib1.c:
   ```
   TVM_DLL int32_t tvmgen_default_fused_multiply_add(void* arg0, void* arg1, 
void* arg2) {
   ```
   
   target string used: `"c -keys=cpu -link-params=1 -model=host -runtime=c 
-system-lib=1 -unpacked-api=1"`
   
   the action item here is to move the prototype from lib0.c into a header file 
which is included by both files.
   
   cc @guberti @Mousius 


-- 
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: commits-unsubscr...@tvm.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to