This is the release note of v6.0.0a1. See here for the complete list of solved issues and merged PRs.
Highlights
- Improved support of random sampling functions (
cupy.random.*); see the list below for details.
New Features
- Support
astypein fused functions (#1586) - Add float16 and float64 support for
scatter_add(#1707, #1684, thanks @uchida!) - Add random sampling functions
cupy.random.hypergeometric(#1625)cupy.random.logistic(#1626)cupy.random.logseries(#1628)cupy.random.power(#1629)cupy.random.rayleigh(#1630)cupy.random.triangular(#1631)cupy.random.wald(#1632)cupy.random.weibull(#1633)cupy.random.negative_binomial(#1635)cupy.random.noncentral_chisquare(#1637)cupy.random.noncentral_f(#1637)
Enhancements
- Update
ndimageto support SciPy 1.0+ (#1606) - Improve reduction code for performance (#1668)
- Device comparison with non-Device class (#1672)
- Fix ufunc performance degradation (#1714)
- Code enhancements
Bug Fixes
- Fix float16
nextafter(#1665, thanks @toru-fukaya!) - Fix NVRTC error in
cupy.random.hypergeometric(#1688) - Fix
cupy.random.randto not generate 1 (#1701) - Fix comparison with NumPy scalar (#1727)
- Fix
ndarray.__iter__to raiseTypeErrorcorrectly for 0-d arrays (#1697) - Add complex support in
solve(#1524, #1674 thanks @boeddeker!)
Documentation
- Fix typo in docstring for
cupy.linalg.slogdet(#1667, thanks @fiarabbit!) - Add licenses of distribution kernels from numpy (#1680)
- Fix math docs of
cupy.random(#1685) - Explain that
-ftz=trueaffectsnextafter(#1717) - Drop support for CUDA 7.0 / 7.5 (#1722)
- Add support for NumPy 1.15 in docs (#1728)
- Add Python 3.7 support to installation docs (#1739)
Installation
Tests
- Tentatively skip failing
test_nextafter_combination(#1687) - Compare distributions between cupy and numpy by two-sample K-S test (#1300)
- Improve floating point tests (#1673)
- Mark slow
cupy.randomtests (#1677) - Add more K-S tests (#1678)
- Minor fixes to
cupy.randomtests (#1679) - Fix
TestRandintDtypewas slow (#1682) - Ignore scipy<1.0 is warned by using deprecated feature of numpy>=1.15 (#1702)
- Workaround for test failure when Python 3.4 + SciPy 0.x + NumPy 0.15 (#1732)
- Fix test for Python 3.7 (#1743)
Others
- Add header file generated by Cython to gitignore (#1700)