Mousius opened a new pull request #10424:
URL: https://github.com/apache/tvm/pull/10424


   This matches the lowering of `call_cpacked` which checks only for an
   operator return of `0` in the main flow:
   
   
https://github.com/apache/tvm/blob/bd14a4d36e0d364ef9bd34b2ee96cc09ce64d4b3/src/target/source/codegen_c_host.cc#L207-L231
   
   This replaces:
   ```c
   (void)tvmgen_default_fused_add(x_buffer_var, y_buffer_var, 
output_buffer_var);
   ```
   with:
   ```c
   if (tvmgen_default_fused_add(x_buffer_var, y_buffer_var, output_buffer_var) 
!= 0 ) return -1;
   ```
   when AOT generates the C output.
   


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