masahi commented on pull request #7669:
URL: https://github.com/apache/tvm/pull/7669#issuecomment-800610821


   Looks like a one reasnoable way to implement `ceil(log2(x)` is ` 32 - clz(x) 
+ (x & (x-1) ? 1 : 0)` for 32 bit integers. We need to be careful with 32 bit 
vs 64 bit and signed vs unsigned.


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to