Lunderberg opened a new pull request, #14489:
URL: https://github.com/apache/tvm/pull/14489

   Prior to this commit, the python API `tvm.tir.op.tvm_struct_set` defined the 
return type of `builtin::tvm_struct_set` as `"handle"`, while the C++ API 
`tvm::tir::TVMStructSet` defined the return type as `DataType::Int(32)`.  The 
data type used for this builtin has no effect, because no value is returned.  
However, this discrepancy can cause failure to roundtrip through TVMScript.
   
   This commit updates the Python API to use `"int32"`, for consistency with 
the C++ API and with `CodeGenCPU`.
   
   This is part of changes described in 
https://github.com/apache/tvm/pull/14486, to improve round-trip failures that 
occur in lowering.


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