Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ A number of adjustments were also made to improve performance of `dpctl` reducti
* Fixed a bug in `test_sycl_device_interface.cpp` which would cause compilation to fail with Clang version 20.0 [gh-1989](https://github.com/IntelPython/dpctl/pull/1989)
* Fixed memory leaks in smart-pointer-managed USM temporaries in synchronizing kernel calls [gh-2002](https://github.com/IntelPython/dpctl/pull/2002)
* `UsmNDArray_MakeSimpleFromPtr` and `UsmNDArray_MakeFromPtr` now raise an error when provided an invalid `typenum` before attempting to create the array [gh-2003](https://github.com/IntelPython/dpctl/pull/2003)
* Fixed typos in `tensor.from_numpy` and `tensor.astype` [gh-2006](https://github.com/IntelPython/dpctl/pull/2006)

### Maintenance

Expand Down
4 changes: 2 additions & 2 deletions dpctl/tensor/_copy_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def from_numpy(np_ary, /, *, device=None, usm_type="device", sycl_queue=None):
arg:
Input convertible to :class:`numpy.ndarray`
device (object): array API specification of device where the
output array is created. Device can be specified by a
output array is created. Device can be specified by
a filter selector string, an instance of
:class:`dpctl.SyclDevice`, an instance of
:class:`dpctl.SyclQueue`, or an instance of
Expand Down Expand Up @@ -620,7 +620,7 @@ def astype(
If this keyword is set to `False`, a view of the input array
may be returned when possible.
device (object): array API specification of device where the
output array is created. Device can be specified by a
output array is created. Device can be specified by
a filter selector string, an instance of
:class:`dpctl.SyclDevice`, an instance of
:class:`dpctl.SyclQueue`, or an instance of
Expand Down
Loading