cupy
cupy copied to clipboard
[backport] restore CUB histogram and bincount
Backport of #8950 by @grlee77
/test mini
Hmm, CI failed :thinking:
https://ci.preferred.jp/r/job/186898
FAILED cupy_tests/statistics_tests/test_histogram.py::TestCubHistogram::test_histogram
E ACTUAL: array([ 1. , 1.9, 2.8, 3.7, 4.6, 5.5, 6.4, 7.3, 8.2, 9.1, 10. ],
E dtype=float32)
E DESIRED: array([ 1. , 1.9 , 2.8 , 3.7 , 4.6 , 5.5 ,
E 6.4 , 7.3 , 8.2 , 9.099999, 10. ],
E dtype=float32)
Looks like the test catches 9.1 != 9.099999
Are we using allclose with a tolerance?
We no longer maintain v13.x.