This is the release notes of v5.0.0b1. See here for the complete list of solved issues and merged PRs.
Highlights
We started to provide wheels for Python 3.6 on Windows. Currently this is considered as experimental, and we'd love to hear your feedback. See Installation Guide for details.
New Features
- Fix incompatibility between
cupy.random.permutationandnumpy.random.permutation. (#1138) - Implement
unique(#1140) - Add
cupy.average(#1180) - Implement triangular array creation routines (#1195, thanks @tsurumeso!)
Enhancements
- Fix to preserve dtype of input array in
cupy.linalg.norm(#875) - Support complex constants and functions in
fuse(#1090) - Fix
cupy.diag()fails for array-likes other than CuPy arrays (#1124, thanks @hyabe!) - Add NumPy-compatibility constants (#1163, thanks @keisuke-umezawa!)
- Free pooled memory when
cufftMakePlan1dcannot allocate memory (#1219) - Rename
CuFftErrortoCuFFTError(#1234)
Bug Fixes
- Fix memory leak: mempool tried to find out-of-bounds bin when freeing chunk (#1165)
- Fix scalar casting rule to support Windows (#1169)
- Fix regex in
einsumto match empty input subscript (#1181) - Fix default dtype of full (#1209)
- Fix
matmulwhen inputs contain zero-sized array (#1231) - Fix
dtypeoption ofsumandprod(#1239) - Fix conversion from float16 to complex (#1241)
- Fix file permissions (#1249)
Documentations
- Fix missing documents (#1148)
Installation
- Separate NVTX module for better Windows support (#1211)
Examples
Tests
- Skip
int8.maxtest on Windows due to NumPy bug (#1171) - Fix example test to pass on Windows (#1172)
- Fix
realandimagtest forboolto pass on Windows (#1173) - Separate tests for
cupy.poweragainst complex dtypes (#1174) - Fix
.coveragerc(#1210) - Fix 32-bit boundary test to support Windows (#1216)
- Remove
_multiprocess_can_split_(#1220) - Fix
hackingversion (#1228)
Others
- Fix
.gitignoreto exclude.pydfiles (#1215)