zxybazh opened a new pull request #8642: URL: https://github.com/apache/tvm/pull/8642
This PR introduce a new implementation of linear congruential engine and its test. This linear congruential engine is a drop-in replacement for and strictly corresponds to `std::minstd_rand` but designed to be serializable and strictly reproducible. Specifically implemented for meta schedule but also reusable for other purposes. The main difference is that: 1. The random engine can be serialized as a single `int64_t`. 2. The random engine's result is strictly reproducible, i.e, given a seed we can always reproduce the same tuning result. 3. The randomness is still preserved because it's implemented as a linear congruential engine, with the same setup as `std::minstd_rand`. -- 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]
