clpy
clpy copied to clipboard
TestGetRandomStateThreadSafe sometimes fails
https://github.com/fixstars/clpy/blob/26ef9b0571c2ffc216a1cf523b905ec0273e6b31/tests/clpy_tests/random_tests/test_generator.py#L522
Failed at: https://github.com/fixstars/clpy/pull/276#pullrequestreview-367721762
Refer to https://github.com/cupy/cupy/pull/78
The case failed 5 times in 100 repeats.
Hypothesis: sequential clrandGenerator::_issue_by_np can be interleaved among threads