Skip to content

Commit bc2cdb4

Browse files
Merge pull request #1405 from IntelPython/master
Merge 0.15.0rc1 into gold/2021
2 parents d63f650 + 1277ba6 commit bc2cdb4

22 files changed

+2837
-621
lines changed

.github/workflows/generate-coverage.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
- name: Install dpctl dependencies
8080
shell: bash -l {0}
8181
run: |
82-
pip install numpy cython setuptools pytest pytest-cov scikit-build cmake coverage[toml]
82+
pip install numpy"<1.26.0" cython setuptools pytest pytest-cov scikit-build cmake coverage[toml]
8383
8484
- name: Build dpctl with coverage
8585
shell: bash -l {0}

.github/workflows/os-llvm-sycl-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ jobs:
108108
- name: Install dpctl dependencies
109109
shell: bash -l {0}
110110
run: |
111-
pip install numpy cython setuptools pytest scikit-build cmake ninja
111+
pip install numpy"<1.26.0" cython setuptools pytest scikit-build cmake ninja
112112
113113
- name: Checkout repo
114114
uses: actions/checkout@v3

CHANGELOG.md

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,43 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7-
## [dev]
7+
## [0.15.0]
88

99
### Added
10+
11+
* Added `dpctl.tensor.floor`, `dpctl.tensor.ceil`, `dpctl.tensor.trunc` elementwise functions.
12+
* Added `dpctl.tensor.hypot`, `dpctl.tensor.logaddexp` elementwise functions.
13+
* Added trigonometric (`dpctl.tensor.sin`, `dpctl.tensor.cos`, `dpctl.tensor.tan`) and hyperbolic (`dpctl.tensor.sinh`, `dpctl.tensor.cosh`, `dpctl.tensor.tanh`) elementwise functions and their inverses (`dpctl.tensor.asin`, `dpctl.tensor.asinh`, `dpctl.tensor.acos`, `dpctl.tensor.acosh`, `dpctl.tensor.atan`, `dpctl.tensor.atanh`).
14+
* Added `dpctl.tensor.round` function.
15+
* Added `dpctl.tensor.sign` and `dpctl.tensor.remainder` elementwise functions.
16+
* Added bitwise elementwise functions `dpctl.tensor.bitwise_and`, `dpctl.tensor.bitwise_xor`, `dpctl.tensor.bitwise_or`, `dpctl.tensor.bitwise_invert`
17+
* Added bitwise shift functions `dpctl.tensor.bitwise_left_shift` and `dpctl.tensor.bitwise_right_shift`.
18+
* Added `dpctl.tensor.atan2` and `dpctl.tensor.signbit` elementwise functions.
19+
* Added `dpctl.tensor.minumum` and `dpctl.tensor.maximum` binary elementwise functions.
20+
* Supported equality checking and hashing for `dpctl.SyclPlatform`.
21+
* Implemented `types` property for all unary and binary elementwise functions [#1361](https://github.com/IntelPython/dpctl/pull/1361)
22+
* Added `dpctl.tensor.repeat` and `dpctl.tensor.tile` functions.
23+
* Added `dpctl.tensor.matrix_transpose ` function.
24+
1025
### Changed
1126

12-
* Removed `dpctl.tensor.numpy_usm_shared` obsolete class and associated tests which were being skipped
27+
* Enabled support for Python arithmetic, in-place arithmetic, reflexive arithmetic, comparison, and bitwise operators for `dpctl.tensor.usm_ndarray` type [#1324](https://github.com/IntelPython/dpctl/pull/1324).
28+
* Removed `dpctl.tensor.numpy_usm_shared` obsolete class and associated tests which were being skipped [#1310](https://github.com/IntelPython/dpctl/pull/1310)
29+
* Transitioned `dpctl` codebase to Cython 3.
30+
* Improved performance of boolean reduction functions `dpctl.tensor.all` and `dpctl.tensor.any`.
31+
* Improved performance of summation function `dpctl.tensor.sum`.
32+
* Improved in-place arithmetic operations for addition, subtraction and multiplication.
33+
* Updated codebase per SYCL-2020 intel/llvm compiler deprecation warnings.
34+
* Improved performance of advanced boolean indexing for arrays whose size fits in 32-bit signed integer type.
35+
* Removed deprecated `DPCTLDevice_GetMaxWorkItemSizes` function from the SyclInterface library.
36+
* Improved performance of `dpctl.tensor.reshape` in the case when a copy is being made.
37+
* Improved performance of `dpctl.tensor.roll` function.
1338

1439
### Fixed
1540

41+
* Fixed issues identified by Coverity security scans.
42+
* Fixed issues [#1279](https://github.com/IntelPython/dpctl/issues/1279), [#1350](https://github.com/IntelPython/dpctl/issues/1350), [#1344](https://github.com/IntelPython/dpctl/issues/1344), [#1327](https://github.com/IntelPython/dpctl/issues/1327), [#1241](https://github.com/IntelPython/dpctl/issues/1241), [#1250](https://github.com/IntelPython/dpctl/issues/1250), [#1293](https://github.com/IntelPython/dpctl/issues/1293).
43+
1644
## [0.14.5] - 07/17/2023
1745

1846
### Added

dpctl/tensor/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ endif()
3333
set(python_module_name _tensor_impl)
3434
pybind11_add_module(${python_module_name} MODULE
3535
${CMAKE_CURRENT_SOURCE_DIR}/libtensor/source/tensor_py.cpp
36+
${CMAKE_CURRENT_SOURCE_DIR}/libtensor/source/accumulators.cpp
3637
${CMAKE_CURRENT_SOURCE_DIR}/libtensor/source/simplify_iteration_space.cpp
3738
${CMAKE_CURRENT_SOURCE_DIR}/libtensor/source/copy_and_cast_usm_to_usm.cpp
3839
${CMAKE_CURRENT_SOURCE_DIR}/libtensor/source/copy_numpy_ndarray_into_usm_ndarray.cpp
@@ -49,6 +50,7 @@ pybind11_add_module(${python_module_name} MODULE
4950
${CMAKE_CURRENT_SOURCE_DIR}/libtensor/source/device_support_queries.cpp
5051
${CMAKE_CURRENT_SOURCE_DIR}/libtensor/source/elementwise_functions.cpp
5152
${CMAKE_CURRENT_SOURCE_DIR}/libtensor/source/sum_reductions.cpp
53+
${CMAKE_CURRENT_SOURCE_DIR}/libtensor/source/repeat.cpp
5254
)
5355
set(_clang_prefix "")
5456
if (WIN32)

dpctl/tensor/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,13 @@
7272
iinfo,
7373
moveaxis,
7474
permute_dims,
75+
repeat,
7576
result_type,
7677
roll,
7778
squeeze,
7879
stack,
7980
swapaxes,
81+
tile,
8082
unstack,
8183
)
8284
from dpctl.tensor._print import (
@@ -305,4 +307,6 @@
305307
"tanh",
306308
"trunc",
307309
"allclose",
310+
"repeat",
311+
"tile",
308312
]

0 commit comments

Comments
 (0)