v0.15.0
Summary
This release completes implementation of dpnp.linalg
module and array creation routine, adds cumulative reductions and histogram functions.
Details
Added
- Implemented
dpnp.frombuffer
,dpnp.fromfile
anddpnp.fromstring
functions #1727 - Implemented
dpnp.fromfunction
,dpnp.fromiter
anddpnp.loadtxt
functions #1728 - Added implementation of
dpnp.linalg.pinv
function #1704 - Added implementation of
dpnp.linalg.eigvalsh
function #1714 - Added implementation of
dpnp.linalg.tensorinv
function #1752 - Added implementation of
dpnp.linalg.tensorsolve
function #1753 - Added implementation of
dpnp.linalg.lstsq
function #1792 - Added implementation of
dpnp.einsum
anddpnp.einsum_path
functions #1779 - Added implementation of
dpnp.histogram
function #1785 - Added implementation of
dpnp.histogram_bin_edges
function #1823 - Added implementation of
dpnp.digitize
function #1847 - Extended pre-commit hooks with
pylint
configuration #1718 - Extended pre-commit hooks with
codespell
configuration #1798 - Added a Security policy page #1730
- Implemented
nin
andnout
properties fordpnp
elementwise functions #1712 - Implemented
outer
method fordpnp
elementwise functions #1813
Changed
- Added support of more number of data types and dimensions for input arrays, and all keyword arguments in
dpnp.cross
function #1715 - Added support of more number of data types and dimensions for input array, and all keyword arguments in
dpnp.linalg.matrix_rank
function #1717 - Added support of more number of data types and dimensions for input arrays in
dpnp.inner
function #1726 - Added support of more number of data types and dimensions for input arrays in
dpnp.linalg.multi_dot
function #1729 - Added support of more number of data types and dimensions for input arrays in
dpnp.kron
function #1732 - Added support of more number of data types and dimensions for input arrays in
dpnp.linalg.matrix_power
function #1748 - Added support of more number of data types and dimensions for input array, and all keyword arguments in
dpnp.norm
function #1746 - Added support of more number of data types and dimensions for input array in
dpnp.cond
function #1773 - Extended
dpnp.matmul
function to supportaxes
keyword argument #1705 - Extended
dpnp.searchsorted
function to supportside
andsorter
keyword arguments #1751 - Extended
dpnp.where
function to support scalar type byx
andy
arrays #1760 - Extended
dpnp.ndarray.transpose
method to supportaxes
keyword as a list #1770 - Extended
dpnp.nancumsum
function to supportaxis
,dtype
andout
keyword arguments #1781 - Extended
dpnp.nancumprod
function to supportaxis
,dtype
andout
keyword arguments #1812 - Extended
dpnp.put
function to support more number of data types and dimensions for input arrays #1838 - Extended
dpnp.trace
function to supportaxis1
,axis2
,dtype
andout
keyword arguments #1842 - Corrected
dpnp.ndarray.real
anddpnp.ndarray.imag
methods to return a view of the array #1719 - Corrected
dpnp.nonzero
function to raiseTypeError
exception for input array of unexpected type #1764 - Corrected
dpnp.diagonal
function to return a view of the array #1817 - Removed
dpnp.find_common_type
function as it was deprecated since NumPy 1.25.0 #1742 - Removed use of
dpctl
queue manager API #1735 - Leveraged
dpctl.tensor
implementation fordpnp.cumsum
function #1772 - Leveraged
dpctl.tensor
implementation fordpnp.cumprod
function #1811 - Leveraged
dpctl.tensor
implementation fordpnp.cumlogsumexp
function #1816 - Leveraged
dpctl.tensor
support ofout
keyword argument in reduction anddpnp.where
functions #1808 - Aligned with
dpctl
interface changes per Python Array API 2023.12 specification #1774 - Reworked
dpnp.linalg.eig
anddpnp.linalg.eigvals
implementations to fall back on on NumPy calculation due to a lack of required functionality in OneMKL LAPACK #1780 dpnp
uses pybind11 2.12.0 #1783- Improved
dpnp.matmul
implementation to use column majorgemm
layout for F-contiguous input arrays #1793 - Improved performance of
dpnp.matmul
function by call ofdpnp.kron
anddpnp.dot
for special cases #1815 - Improved performance of
dpnp.diag
function by use ofdpnp.diagonal
which returns a view of the array #1822 - Removed limitations from
diag_indices
,diag_indices_from
,fill_diagonal
,tril_indices
,tril_indices_from
,triu_indices
,triu_indices_from
functions and added implementation ofdpnp.mask_indices
function #1814
Fixed
- Changed
dpnp.linalg.solve
to use a pair ofgetrf
andgetrs
calls from OneMKL library instead ofgesv
one to mitigate an unexpectedRuntimeError
exception #1763 - Resolved a hang in batch implementation of
dpnp.linalg.solve
when computes on CPU device #1778 - Resolved an unexpected
TypeError
exception raised fromdpnp.random.vonmises
when used with a scalarkappa
argument #1799 - Changed
dpnp.flatten
to comply with compute follows data approach #1825 - Resolved a hang in batch implementation of
dpnp.linalg.eigh
when computes on CPU device #1832 - Resolved an unexpected
ValueError
exception raised fromdpnp.linalg.pinv
due to a shape issue indpnp.matmul
#1843
New Contributors
Full Changelog: 0.14.0...0.15.0