ganler commented on PR #10969:
URL: https://github.com/apache/tvm/pull/10969#issuecomment-1097232811

   > interesting, I'm confused how it does the cast when the IterVar is int32 
but the extent is int64 (since then `vi_dtype.bits() < var.dtype().bits()` is 
false), there must be some interaction with the `DataTypeVisitor` that I don't 
understand. I'll defer to @Lunderberg, I'm fine with either fix
   
   Very great point and this is where I think your PR is better than mine as I 
simply assume that extend.dtype.bits <= var.dtype.bits.


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