IntelPython / dpnp

Data Parallel Extension for NumPy
BSD 2-Clause "Simplified" License
94 stars 21 forks source link

Support usm_ndarray batched input for dpnp.linalg #1880

Closed vlad-perevezentsev closed 1 month ago

vlad-perevezentsev commented 1 month ago

As noted in #1867 many functions from dpnp.linalg are implemented wrongly for _usmndarray batched input. The implementations often call a method that does not support _usmndarray which raises an error.

This PR suggests fixing this and using dpnp functions instead of ndarray methods and adding a new test to cover these cases

github-actions[bot] commented 1 month ago

View rendered docs @ https://intelpython.github.io/dpnp/index.html