lebeg commented on issue #11148: [MXNET-679] Refactor handling BLAS libraries with cmake URL: https://github.com/apache/incubator-mxnet/pull/11148#issuecomment-411783592 Yes, the `<random>` code was necessary due to android armv7 clang build not having the `rand_r` function at all. Actually using `rand_r` in the way it was used is dangerous in a multithreaded environment. This change fixes this.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on 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 With regards, Apache Git Services