You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/02/01 03:47:19 UTC

[GitHub] [tvm] wrongtest commented on issue #10107: [Bug] test_tir_schedule_sampling.py:test_sample_compute_location can not pass on a M1 mac system

wrongtest commented on issue #10107:
URL: https://github.com/apache/tvm/issues/10107#issuecomment-1026450840


   12, 11, 16, 14, 10, 15, 11, 11
   
   I'm not familiar with RNG issues but I find the implementation here:
   https://github.com/apache/tvm/blob/187aeb5fe813c5bffc81e88ba890399ce7d53e1e/src/tir/schedule/primitive/sampling.cc#L134-L135
   
   For `LinearCongruentialEngine` (Is it the PRNG generator mentioned by @junrushao1994?), the document of it says `It strictly corresponds to std::minstd_rand and is designed to be platform-independent`.
   
   For `uniform_int_distribution`, however, some guys say it is not platform-independent. https://stackoverflow.com/questions/26538627/c11-cross-compiler-standard-library-random-distribution-reproducibility


-- 
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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org