tkonolige commented on a change in pull request #7287:
URL: https://github.com/apache/tvm/pull/7287#discussion_r562038095



##########
File path: python/tvm/topi/random/kernel.py
##########
@@ -234,6 +242,18 @@ def gen_ir(gen_ptr, out_gen_ptr, out_array_ptr):
         out_gen = irb.buffer_ptr(out_gen_ptr)
         out_array = irb.buffer_ptr(out_array_ptr)
 
+        # Check that unsigned arithmetic wraps, as it is required to implement 
threefry correctly.
+        irb.emit(

Review comment:
       @tqchen If the platform does not support assert, does it fail to compile 
or does it just not include the assert?




----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to